On 26 Nov, Erik de Castro Lopo wrote : > Jean-Baptiste Kempf wrote: > > > You are using libtool, so it's a big big mess... > > Indeed! > > > I spent a very long time fixing this for VLC, and the solution is a bit > > weird, but you can have it doing this: > > http://git.videolan.org/?p=vlc.git;a=commit;h=417b6eb0f09dc73984a7dba2aa42c9d8683d5294 > > > > The trick is to use -Wc to the LD flags, because libtool is linking with > > the gcc frontend. > > Awesome, thanks. All I needed to fix this was: > > -Wc-static-libgcc > > added to libsndfile_la_LDFLAGS. >
\o/ Weird incantation, but works :) BE 100% careful, this will NOT work for C++ dlls, because libtool is a piece of crap. With my kindest regards, -- Jean-Baptiste Kempf http://www.jbkempf.com/ - +33 672 704 734 Sent from my Electronic Device ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
