GNOME Bugzilla – Bug 454392
mingw build (cross compilation)
Last modified: 2009-08-23 17:03:42 UTC
The proposed patch improve mingw build. Without changes in makefiles mingw build don't create shared libraries(dlls). Changes in ./configure.in remove unused winsoc too. May be AC_LIBTOOL_WIN32_DLL is not necessary but I add it. Modification in extensions.c is to suppress warning.
Created attachment 91321 [details] [review] proposed patch
This part of the patch looks controversial to me, it may affect the build of others on Windows. Again since I have no Windows expertise, I will ask to send your patch and explain it on the mailing list where others with such expertise and ability to build on Windows can discuss it, I can't process this on my own. @@ -511,9 +512,7 @@ WIN32_EXTRA_LDFLAGS= case "$host" in *-*-mingw*) - WIN32_EXTRA_LIBADD="-lwsock32" - WIN32_EXTRA_LDFLAGS="-no-undefined" - AC_DEFINE([_WINSOCKAPI_],1,[Using the Win32 Socket implementation]) + WIN32_EXTRA_LDFLAGS="-no-undefined -avoid-version" AC_DEFINE([snprintf],[_snprintf],[Win32 Std C name mangling work-around]) AC_DEFINE([vsnprintf],[_vsnprintf],[Win32 Std C name mangling work-around]) ;; thanks in advance, Daniel
Interesting status (RESOLVED) and resolution (NOTGNOME) !!!!
It's NOTGNOME, not WONTFIX ! See 454388 for explanations, Daniel