Skip to content

Commit f9e11bb

Browse files
committed
Enable building DLLs with MinGW32.
1 parent 8327179 commit f9e11bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ else
1515
fi
1616
test "x$GCC" = "xyes" && CFLAGS="$CFLAGS -Wall"
1717
AC_PROG_MAKE_SET
18+
AC_LIBTOOL_WIN32_DLL
1819
AC_PROG_LIBTOOL
1920
AC_PATH_PROG([AR], [ar], [/usr/bin/ar],
2021
[$PATH:/usr/ccs/bin])
@@ -798,6 +799,7 @@ MINGW=`echo $host_os | grep mingw32 2>/dev/null`
798799
AM_CONDITIONAL(MINGW, test ! -z "$MINGW" )
799800
if test ! -z "$MINGW"; then
800801
WSOCKLIB="-lws2_32"
802+
LDFLAGS="$LDFLAGS -no-undefined"
801803
fi
802804
AC_SUBST(WSOCKLIB)
803805

0 commit comments

Comments
 (0)