pass compiler flags only when static library is built

Vincent Torri <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <CAMq1adqtvpQN0bybG5J4ACwpx9woAKYw8tBCCiaVPQ2NUqg-rw@mail.gmail.com>
Hello

I have a project which uses the autotools as build system (autoconf, +
automake + libtool).

is it possible to pass to the compiler a flag only when the static
library is built ?

i have tried to set lt_prog_compiler_static in configure.ac, with no luck

thank you

Vincent Torri
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.