On 2/5/2012 13:30, Erik de Castro Lopo wrote: > Dave Yeo wrote: > >> --- >> configure.ac | 1 + > > Both applied (first with a minor tweak). Thanks. > > Erik
Unfortunately, this steps on my patch. Updated patch attached. Cygwin really shouldn't be calling win32 API. On the otherhand, I can't seem to find any ntohl use(???).
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= ;;
signature.asc
Description: OpenPGP digital signature
_______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev