[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Separate CPPFLAGS for static and shared libs
From: |
Ralf Wildenhues |
Subject: |
Re: Separate CPPFLAGS for static and shared libs |
Date: |
Tue, 22 Jul 2008 07:19:39 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello Vikram,
* Vikram Ambrose wrote on Mon, Jul 21, 2008 at 11:36:25PM CEST:
> Just ran into a problem, with our old solution, both the .a and the .so
> need to have -fPIC. Now how do i get separate CPPFLAGS to them when
> using libtool?
You should be looking into convenience archives, or, if they don't help
you, explain why you need -fPIC in the static library.
Cheers,
Ralf