|Subject:||Re: libtool problem with --whole-archive/--no-whole-archive|
|Date:||Tue, 17 Feb 2015 12:11:22 +0530|
On 26 Nov 2014 11:20, Venkatesh Vivekanandan wrote:
> Problem is, platform linker command doesn't have
> --whole-archive/--no-whole-archive around the lib. Instead it comes later
> in the command line.
iirc, libtool likes to sort things for you
> How to propogate the --whole-archive/--no-whole-archive all the way down to
> example app linking?. Importantly, it should be around the -lmyextlib. I
> can make changes only at platform/targetA/Makefile.am as example/* is
> common across all other platforms.
> Note: Tried libtool's suggestion of -Wl,'-whole-archive -lfoo
> -no-whole-archive' as mentioned in
> lists.gnu.org/archive/html/libtool/2002-05/msg00043.html but that didn't
what do you mean by "didn't work" ?
maybe quoting is messing you up ? you could try:
|[Prev in Thread]||Current Thread||[Next in Thread]|