libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with --as-needed flag


From: Sergio Belkin
Subject: Problem with --as-needed flag
Date: Tue, 23 Nov 2010 10:04:45 -0300

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 -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]