[patch] hide libsmbclient's private symbols

Gerald (Jerry) Carter jerry at samba.org
Tue Jul 3 20:00:16 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Julien Cristau wrote:
> Hi,
> 
> the following patch (against samba 3.0.25a) makes the build system use a
> version script if it detects a recent enough gnu ld.  This makes
> libsmbclient export about 50 symbols instead of about 4000, which
> reduces the risk of symbols clashes due to private symbols which aren't
> part of the API and have no business being exported.  The detection is
> probably not optimal, but I think it's safe (support for version scripts
> seems to have been added in 2002, before gnu ld 2.12).  Feedback
> welcome.

Merged the agreed upon version of patch to SAMBA_3_0 and SAMBA_3_0_26.





jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGiqrQIR7qMdg1EfYRAmuGAKDOvpt4cAPCTBD4ossQkNMhWa7hNACg4iqn
GvagID7XwWkoxT9K3oUulpI=
=3Vng
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list