From d2342f36bcf81dbcea22bb113a5d0e9e0de505f8 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 14 Dec 2014 16:42:47 -0600 Subject: [PATCH] allow Windows DLLs to be built based on a patch from Jan Engelhardt --- configure.ac | 2 +- crypto/Makefile.am | 2 +- ssl/Makefile.am | 2 +- tls/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 4b3d209..e56e39d 100644 --- a/configure.ac +++ b/configure.ac @@ -33,7 +33,7 @@ case $host_os in ;; *mingw*) HOST_OS=win - CFLAGS="$CFLAGS -D_GNU_SOURCE -D_POSIX -D_POSIX_SOURCE -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -DOPENSSL_NO_SPEED -D__USE_MINGW_ANSI_STDIO" + CFLAGS="$CFLAGS -D_GNU_SOURCE -D_POSIX -D_POSIX_SOURCE -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -DOPENSSL_NO_SPEED -DNO_SYSLOG -D__USE_MINGW_ANSI_STDIO" AC_SUBST([PLATFORM_LDADD], ['-lws2_32']) ;; *solaris*) diff --git a/crypto/Makefile.am b/crypto/Makefile.am index 171d662..e5a4d4d 100644 --- a/crypto/Makefile.am +++ b/crypto/Makefile.am @@ -8,7 +8,7 @@ lib_LTLIBRARIES = libcrypto.la EXTRA_DIST = VERSION -libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ +libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined libcrypto_la_LIBADD = libcompat.la libcompatnoopt.la libcrypto_la_CFLAGS = $(CFLAGS) $(USER_CFLAGS) libcrypto_la_CFLAGS += -DOPENSSL_NO_HW_PADLOCK diff --git a/ssl/Makefile.am b/ssl/Makefile.am index 87aeff6..5dad39f 100644 --- a/ssl/Makefile.am +++ b/ssl/Makefile.am @@ -4,7 +4,7 @@ lib_LTLIBRARIES = libssl.la EXTRA_DIST = VERSION -libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ +libssl_la_LDFLAGS = -version-info @LIBSSL_VERSION@ -no-undefined libssl_la_CFLAGS = $(CFLAGS) $(USER_CFLAGS) libssl_la_LIBADD = ../crypto/libcrypto.la diff --git a/tls/Makefile.am b/tls/Makefile.am index 31ee861..cba2b9e 100644 --- a/tls/Makefile.am +++ b/tls/Makefile.am @@ -5,7 +5,7 @@ lib_LTLIBRARIES = libtls.la EXTRA_DIST = VERSION -libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ +libtls_la_LDFLAGS = -version-info @LIBTLS_VERSION@ -no-undefined libtls_la_CFLAGS = $(CFLAGS) $(USER_CFLAGS) libtls_la_LIBADD = ../ssl/libssl.la