GNOME Bugzilla – Bug 608040
[win32] libtool refuses to link static ffmpeg libraries to shared libgstffmpeg.dll
Last modified: 2010-04-29 18:41:57 UTC
Libtool developers decided that on Windows it is unsafe to link static libraries to shared libraries and disabled (removed?) that functionality in libtool on Windows. But gst-ffmpeg does exactly that, thus some hacks are necessary to perform static linking.
Created attachment 152234 [details] [review] [win32] Work around libtool refusing linking static libraries to shared ones This should not be committed, obviously. While it works on Windows, i am sure that it will break something on other platforms. Testing is required.
Fix libtool instead. Or remove use of libtool entirely; that would be the best approach to minimising bugs.
Well, another way is to pass lt_cv_deplibs_check_method="pass_all" to configure.
lt_cv_deplibs_check_method="pass_all" definitely works, for now i'm content with this solution.