Re: Visibility of gnulib's symbols

2019-07-08 Thread Paul Eggert

Marc Nieper-Wißkirchen wrote:

What is the canonical way to solve this? Is there an easy way to add
$(CFLAGS_VISIBLITY) to the CFLAGs when gnulib is compiled? Or should I try
something different?


It's hard to say without seeing what you've got. You misspelled CFLAG_VISIBILITY 
in your email, which suggests that the problem could be a simple misspelling.




Visibility of gnulib's symbols

2019-07-08 Thread Marc Nieper-Wißkirchen
Dear all,

I'm working on a shared library, for which implementation I make use of
gnulib modules.

I followed the instructions for the lib-symbol-visibility module (see here:
https://www.gnu.org/software/gnulib/manual/html_node/Exported-Symbols-of-Shared-Libraries.html)
to make only the documented parts of my API visible to the outside.

This works for the library code, but now for the imported gnulib modules by
default. I still see all gnulib exported identifiers among the visible
symbols of my shared library.

What is the canonical way to solve this? Is there an easy way to add
$(CFLAGS_VISIBLITY) to the CFLAGs when gnulib is compiled? Or should I try
something different?

Thanks!

Cheers,

Marc