bug-gnulib
[Top][All Lists]
Advanced

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

Visibility of gnulib's symbols


From: Marc Nieper-Wißkirchen
Subject: Visibility of gnulib's symbols
Date: Mon, 8 Jul 2019 10:20:57 +0200

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

reply via email to

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