[Top][All Lists]

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

Re: libtool problem with --whole-archive/--no-whole-archive

From: Mike Frysinger
Subject: Re: libtool problem with --whole-archive/--no-whole-archive
Date: Mon, 16 Feb 2015 04:08:26 -0500

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/ as example/* is
> common across all other platforms.
> Note: Tried libtool's suggestion of -Wl,'-whole-archive -lfoo
> -no-whole-archive' as mentioned in
> but that didn't
> work.

what do you mean by "didn't work" ?

maybe quoting is messing you up ?  you could try:

Attachment: signature.asc
Description: Digital signature

reply via email to

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