libtool
[Top][All Lists]
Advanced

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

Re: different object sets in shared and static libs


From: John Calcote
Subject: Re: different object sets in shared and static libs
Date: Wed, 11 Jun 2008 16:34:40 -0600
User-agent: Thunderbird 2.0.0.12 (X11/20080226)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian,

Brian Dessent wrote:
> John Calcote wrote:
> 
>> Is there a way to specify additional objects (sources) for the shared
>> library that will not be linked into the static library.
> 
> You could always wrap the entire contents of the file with "#ifdef
> PIC".  The objects would still be in the static lib but they would be
> essentially empty files.  I know, not the cleanest solution.  
> 
> Brian
> 

Hmmmm...

:)
John

Actually, thanks for the response. That's not bad if it's the only thing
possible. I always hate to hear that something can be done on Windows
and not on Linux. But I also understand that it's the high level of
abstraction in Automake that is causing the problem, not the inability
to actually use different objects in different libraries.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIUFMAdcgqmRY/OH8RAn0IAJ9PzPrnjxfkpPfdOgAZJRnUDtlVuQCdEXcT
rgZbIIDNsW6mS2qe02LbhVQ=
=HBtb
-----END PGP SIGNATURE-----




reply via email to

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