GNOME Bugzilla – Bug 526247
Actually build dlls when cross-compiling with mingw32
Last modified: 2008-04-06 08:52:34 UTC
As a matter of fact, cross-compiling GStreamer does not produce dlls in current HEAD. libtool whines with awful messages like this one: *** Warning: linker path does not have real file for library -lws2_32. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have *** because I did check the linker path looking for a file starting *** with libws2_32 and none of the candidates passed a file format test *** using a file magic. Last file checked: .../lib/libws2_32.a Adding AC_LIBTOOL_WIN32_DLL to configure.ac solves this issue.
Created attachment 108641 [details] [review] Patch against gstreamer HEAD
This patch is also necessary for all other modules, right? Or only the modules that build libraries (i.e. base and bad) but not the ones which only build plugins?
Yes, this patch is also necessary for other modules. AFAIK, if you want to build a DLL with libtool, you must add AC_LIBTOOL_WIN32_DLL. What is the preferred way to post "pan-moules" patches ? one bug by module ? a bug and 5 patches ? a bug, a patch and GStreamer developers do the remaining work :p ?
I've committed it to all modules, thanks :) 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org> Patch by: Damien Lespiau <damien dot lespiau at gmail dot com> * configure.ac: Actually build dlls when cross-compiling with mingw32. Fixes bug #526247.