diff --git a/configure.ac b/configure.ac index 04277e1..10c4669 100644 --- a/configure.ac +++ b/configure.ac @@ -105,10 +105,18 @@ esac AC_SUBST(OBJ_FORMAT) case "$host" in - *-*-cygwin|*mingw*|*emx*) + *emx*) # define this variable for enabling strict exports with libtool; for now, it's supported by Win32 and OS/2 LT_NO_UNDEFINED="-no-undefined" ;; + *-*-cygwin*) + LT_NO_UNDEFINED="-no-undefined" + ;; + *-*-mingw*) + LT_NO_UNDEFINED="-no-undefined" + # -lws2_32 only needed because of ntohl() usage, can get rid of after that's gone: + MINGW_WINSOCK_LIBS=-lws2_32 + ;; *) LT_NO_UNDEFINED= ;;