There is a issue with --as-needed that it's ignored when using with
automake:

You can take a look the Makefile.am on:

http://pastebin.com/jn4kiqTd

noinst_PROGRAMS are linking against "all libraries mentioned on the command
line" and not only "against libraries that  satisfy  some  symbol
reference  from  regular  objects  which  is  undefined  at the point that
the library was linked" as ld manpage states.

Is there a workaround for it?

Thanks in advance


-- 
--
Sergio Belkin http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to