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.

Thanks again!

Cheers,
Erik

PS: Please do email me about the FLAC__NO_DLL issue with a description of the
    problem and any suggestion on how to fix it.
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/

------------------------------------------------------------------------------
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

Reply via email to