summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2012-05-04 17:08:48 +0200
committerChristian Beier <dontmind@freeshell.org>2012-05-04 17:08:48 +0200
commitf9e11bb22299fbb8fef19a61fc38f2a645a1d5a7 (patch)
tree7d02926b9cc39f20e4c1146c249f5588c712eb09 /configure.ac
parent8327179d12881806fdb120f7bc1ca6d95d2e81b3 (diff)
downloadlibvncserver-f9e11bb22299fbb8fef19a61fc38f2a645a1d5a7.zip
libvncserver-f9e11bb22299fbb8fef19a61fc38f2a645a1d5a7.tar.gz
Enable building DLLs with MinGW32.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3e83d3a..2eaa46a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,7 @@ else
fi
test "x$GCC" = "xyes" && CFLAGS="$CFLAGS -Wall"
AC_PROG_MAKE_SET
+AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
AC_PATH_PROG([AR], [ar], [/usr/bin/ar],
[$PATH:/usr/ccs/bin])
@@ -798,6 +799,7 @@ MINGW=`echo $host_os | grep mingw32 2>/dev/null`
AM_CONDITIONAL(MINGW, test ! -z "$MINGW" )
if test ! -z "$MINGW"; then
WSOCKLIB="-lws2_32"
+ LDFLAGS="$LDFLAGS -no-undefined"
fi
AC_SUBST(WSOCKLIB)
OpenPOWER on IntegriCloud