diff options
author | Christian Beier <dontmind@freeshell.org> | 2012-05-04 17:08:48 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2012-05-04 17:08:48 +0200 |
commit | f9e11bb22299fbb8fef19a61fc38f2a645a1d5a7 (patch) | |
tree | 7d02926b9cc39f20e4c1146c249f5588c712eb09 | |
parent | 8327179d12881806fdb120f7bc1ca6d95d2e81b3 (diff) | |
download | libtdevnc-f9e11bb22299fbb8fef19a61fc38f2a645a1d5a7.tar.gz libtdevnc-f9e11bb22299fbb8fef19a61fc38f2a645a1d5a7.zip |
Enable building DLLs with MinGW32.
-rw-r--r-- | configure.ac | 2 |
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) |