bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* Visibility of gnulib's symbols
@ 2019-07-08  8:20 Marc Nieper-Wißkirchen
  2019-07-08 16:14 ` Paul Eggert
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Nieper-Wißkirchen @ 2019-07-08  8:20 UTC (permalink / raw)
  To: bug-gnulib

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1034 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Visibility of gnulib's symbols
  2019-07-08  8:20 Visibility of gnulib's symbols Marc Nieper-Wißkirchen
@ 2019-07-08 16:14 ` Paul Eggert
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2019-07-08 16:14 UTC (permalink / raw)
  To: Marc Nieper-Wißkirchen; +Cc: bug-gnulib

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-08 16:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-08  8:20 Visibility of gnulib's symbols Marc Nieper-Wißkirchen
2019-07-08 16:14 ` Paul Eggert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).