Commit f9e11bb2 authored by Christian Beier's avatar Christian Beier

Enable building DLLs with MinGW32.

parent 8327179d
...@@ -15,6 +15,7 @@ else ...@@ -15,6 +15,7 @@ else
fi fi
test "x$GCC" = "xyes" && CFLAGS="$CFLAGS -Wall" test "x$GCC" = "xyes" && CFLAGS="$CFLAGS -Wall"
AC_PROG_MAKE_SET AC_PROG_MAKE_SET
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL AC_PROG_LIBTOOL
AC_PATH_PROG([AR], [ar], [/usr/bin/ar], AC_PATH_PROG([AR], [ar], [/usr/bin/ar],
[$PATH:/usr/ccs/bin]) [$PATH:/usr/ccs/bin])
...@@ -798,6 +799,7 @@ MINGW=`echo $host_os | grep mingw32 2>/dev/null` ...@@ -798,6 +799,7 @@ MINGW=`echo $host_os | grep mingw32 2>/dev/null`
AM_CONDITIONAL(MINGW, test ! -z "$MINGW" ) AM_CONDITIONAL(MINGW, test ! -z "$MINGW" )
if test ! -z "$MINGW"; then if test ! -z "$MINGW"; then
WSOCKLIB="-lws2_32" WSOCKLIB="-lws2_32"
LDFLAGS="$LDFLAGS -no-undefined"
fi fi
AC_SUBST(WSOCKLIB) AC_SUBST(WSOCKLIB)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment