automake
[Top][All Lists]
Advanced

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

Re: How best to incorporate -Wl,--whole-archives with _PROGRAMS


From: Peter O'Gorman
Subject: Re: How best to incorporate -Wl,--whole-archives with _PROGRAMS
Date: Mon, 12 Nov 2007 14:41:15 -0600
User-agent: Thunderbird 2.0.0.5 (X11/20070727)

Kamaljit Singh wrote:
> I am trying to build a .so (without libtool) but instead using the _PROGRAMS.
> 
> If I want to use -Wl,--whole-archives ... -Wl,--no-whole-archives in the 
> _LDLIBS
> it barfs and if I use it in _LDFLAGS then it doesnt get into the dependencies,
> unless I explicitly put it.
> 
> Any ideas on a better mechanism ?

Use libtool.

Peter





reply via email to

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