Re: Different flags for static and shared build of a library

2010-12-23 Thread Ralf Wildenhues
* Zdenek Hutyra wrote on Tue, Dec 21, 2010 at 09:16:07AM CET: Is it possible to specify CFLAGS different for static and shared library in .am file? lib_LTLIBRARIES = libFOO.la libFOO_la_CFLAGS = ... Not directly. If this is only about preprocessor flags, -DPIC is set for the shared lib.

Different flags for static and shared build of a library

2010-12-22 Thread Zdenek Hutyra
Hello. Is it possible to specify CFLAGS different for static and shared library in .am file? lib_LTLIBRARIES = libFOO.la libFOO_la_CFLAGS = ... Thank you.