Ralf Wildenhues wrote:
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
The compiler give an error when using the static library,
/bin/ld: /sysroot/usr/lib64/libsepol.a(libsepol_la-services.o):
relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
Vikram
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool