From: Simon Josefsson Date: Thu, 15 Oct 2009 06:27:48 +0000 (+0200) Subject: Export C++ symbol visibility. X-Git-Tag: gnutls_2_9_8~54 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=55aa014dffb9b95bc3ad55a3d17f92668e416088;p=thirdparty%2Fgnutls.git Export C++ symbol visibility. Tiny patch from Boyan Kasarov . --- diff --git a/lib/libgnutlsxx.map b/lib/libgnutlsxx.map index 62f6c12437..f61d861544 100644 --- a/lib/libgnutlsxx.map +++ b/lib/libgnutlsxx.map @@ -24,11 +24,18 @@ GNUTLS_1_6 { global: extern "C++" { - gnutls::*; - }; + # To specify a class we also need to specify its typeinfo, + # typeinfo name and vtable objects. + # For example for class gnutls::psk_client_credentials, + # we need to declare this 4 lines: + # + # gnutls::psk_client_credentials::*; + # "typeinfo for gnutls::psk_client_credentials"; + # "typeinfo name for gnutls::psk_client_credentials"; + # "vtable for gnutls::psk_client_credentials"; - # export typeinfo names and structures - _ZTI*; + *gnutls::*; + }; local: *; };