aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2014-12-14 16:42:47 -0600
committerBrent Cook <bcook@openbsd.org>2014-12-14 16:59:35 -0600
commitd2342f36bcf81dbcea22bb113a5d0e9e0de505f8 (patch)
treead303cfe96fd708a9c761566cbbc36b6ec2a8af2 /configure.ac
parent09e5a841cdfedf46be51cfebab002d4a8fb0face (diff)
downloadportable-d2342f36bcf81dbcea22bb113a5d0e9e0de505f8.tar.gz
portable-d2342f36bcf81dbcea22bb113a5d0e9e0de505f8.tar.bz2
portable-d2342f36bcf81dbcea22bb113a5d0e9e0de505f8.zip
allow Windows DLLs to be built
based on a patch from Jan Engelhardt
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 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
33 ;; 33 ;;
34 *mingw*) 34 *mingw*)
35 HOST_OS=win 35 HOST_OS=win
36 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" 36 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"
37 AC_SUBST([PLATFORM_LDADD], ['-lws2_32']) 37 AC_SUBST([PLATFORM_LDADD], ['-lws2_32'])
38 ;; 38 ;;
39 *solaris*) 39 *solaris*)