Simon Josefsson wrote: > However, one question. The document says: > > 1. Add `...@cflag_visibility@' 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