summaryrefslogtreecommitdiffstats
path: root/source/exports
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-07-03 19:55:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:46 -0500
commitc42cf731b4b259c5c1a874fd1837ca85144f1a58 (patch)
tree564412f97fdbc82cf265b16f69957072b64bab68 /source/exports
parentf3bb102c24018f0a91f8b51de6fe646c091da6be (diff)
downloadsamba-c42cf731b4b259c5c1a874fd1837ca85144f1a58.tar.gz
samba-c42cf731b4b259c5c1a874fd1837ca85144f1a58.tar.xz
samba-c42cf731b4b259c5c1a874fd1837ca85144f1a58.zip
r23689: Squashed commit of the following:
commit 0d4bbd197198a94bf4e29e0ccd175a40a60097f3 Author: Gerald (Jerry) Carter <jerry@samba.org> Date: Mon Jul 2 20:08:19 2007 -0500 Introduce GNU ld linker export-script for hiding non-public symbols in shared libraries. Based on initial patch from Julien Cristau <jcristau@debian.org> and suggestions from James Peach <jpeach@samba.org>. Currently the libsmbsharemodes libraries still exports *. Signed off on my Derrell as well.
Diffstat (limited to 'source/exports')
-rw-r--r--source/exports/libsmbclient.syms4
-rw-r--r--source/exports/libsmbsharemodes.syms3
2 files changed, 7 insertions, 0 deletions
diff --git a/source/exports/libsmbclient.syms b/source/exports/libsmbclient.syms
new file mode 100644
index 00000000000..3062e34bfdb
--- /dev/null
+++ b/source/exports/libsmbclient.syms
@@ -0,0 +1,4 @@
+{
+ global: smbc_*;
+ local: *;
+};
diff --git a/source/exports/libsmbsharemodes.syms b/source/exports/libsmbsharemodes.syms
new file mode 100644
index 00000000000..eb34bfc012a
--- /dev/null
+++ b/source/exports/libsmbsharemodes.syms
@@ -0,0 +1,3 @@
+{
+ global: *;
+};