bug-gnulib
[Top][All Lists]
Advanced

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

Re: automake conditional for visibility?


From: Bruno Haible
Subject: Re: automake conditional for visibility?
Date: Wed, 4 Mar 2009 04:14:12 +0100
User-agent: KMail/1.9.9

Simon Josefsson wrote:
> However, one question.  The document says:
> 
>   1. Add address@hidden@' or (in a Makefile.am)
>      `$(CFLAG_VISIBILITY)' to the CFLAGS for the compilation of the
>      sources that make up the library.
> 
> Does this include source code in helper libraries, such as gnulib?

Yes, sure. Otherwise the symbols coming from these source files will be
exported from the library.

> In other words, should the gnulib generated Makefile.am add the
> $(CFLAG_VISIBILITY) to AM_CFLAGS?

Good question. I would assume that you are using the --makefile-name option,
so that you can augment/customize AM_CPPFLAGS and other automake variables?

Bruno




reply via email to

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