Re: Writing symbols files for C++ libraries.
On Tue, Apr 07, 2009 at 12:15:19PM +0200, Josselin Mouette <firstname.lastname@example.org> wrote:
> Le mardi 07 avril 2009 à 11:57 +0200, Mike Hommey a écrit :
> > I found nothing better than using a version script. I'm lucky that the
> > library in question (WebKit) only really exports C symbols, and C++ is only
> > internal details, so I'm filtering everything that starts with _Z, now.
> BTW, for such simple things, you can let libtool create the version
> script for you, using -export-symbols-regex.
The problem with libtool's option is that it is inclusive, i.e. what
you give it will be exported, not hidden, which is sometimes much easier