diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2016-09-06 23:25:28 +0900 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2016-10-30 21:39:36 -0500 |
commit | 62f2a73061eda53f5d60cfa7fab7dfb6bd7803ad (patch) | |
tree | 3398f894c4658264cdccc7979a82f49463b3a454 /tls/Makefile.am | |
parent | e168f3b0bc437e58f833efcfd2891892cff4e98e (diff) | |
download | portable-62f2a73061eda53f5d60cfa7fab7dfb6bd7803ad.tar.gz portable-62f2a73061eda53f5d60cfa7fab7dfb6bd7803ad.tar.bz2 portable-62f2a73061eda53f5d60cfa7fab7dfb6bd7803ad.zip |
export DLLs functions for MSVC with CMake
- Add 3 DEF files to export functions from Windows DLLs
- Add gettimeofday to crypto/crypto.def (*1)
- Remove gai_strerrorA from tls/tls.def (*1)
- Fix CMakeLists.txt to use DEF files as PRIVATE
- Change DLL import library file name since it duplicates with static library
- Ignore compiler warning C4267, and Edit CMAKE_C_FLAGS not to overwrite it (*1)
- Add USE_SHARED option to build openssl.exe with shared libraries (*1)
(*1) recommended by @mcnameej
Diffstat (limited to 'tls/Makefile.am')
-rw-r--r-- | tls/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tls/Makefile.am b/tls/Makefile.am index 8350e4d..51f31db 100644 --- a/tls/Makefile.am +++ b/tls/Makefile.am | |||
@@ -4,6 +4,7 @@ lib_LTLIBRARIES = libtls.la | |||
4 | 4 | ||
5 | EXTRA_DIST = VERSION | 5 | EXTRA_DIST = VERSION |
6 | EXTRA_DIST += CMakeLists.txt | 6 | EXTRA_DIST += CMakeLists.txt |
7 | EXTRA_DIST += tls.def | ||
7 | 8 | ||
8 | libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined | 9 | libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined |
9 | libtls_la_LIBADD = $(abs_top_builddir)/ssl/libssl.la | 10 | libtls_la_LIBADD = $(abs_top_builddir)/ssl/libssl.la |