summaryrefslogtreecommitdiff
path: root/source3/exports
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-05-23 11:52:31 +0200
committerStefan Metzmacher <metze@samba.org>2008-05-23 17:19:57 +0200
commit7abda3fb9d10ec5c8b2f61508cd1362d324e3a8a (patch)
treee5f177f3e0e25ebed8e4726b3b49d56da817662d /source3/exports
parent3d6911afca4c3412b71ba2aeb75abc71cabf74df (diff)
downloadsamba-7abda3fb9d10ec5c8b2f61508cd1362d324e3a8a.tar.gz
samba-7abda3fb9d10ec5c8b2f61508cd1362d324e3a8a.tar.bz2
samba-7abda3fb9d10ec5c8b2f61508cd1362d324e3a8a.zip
build: add symbol versioning when we build with gnu ld
There's --enable-symbol-versioning=no to disable it. metze (cherry picked from commit cb5492978b6b157f529806afb2f5fc6202888129) (This used to be commit a739652d94300881479262648592223536fc8eec)
Diffstat (limited to 'source3/exports')
-rw-r--r--source3/exports/libsmbclient.version.syms8
-rw-r--r--source3/exports/libsmbsharemodes.version.syms7
2 files changed, 15 insertions, 0 deletions
diff --git a/source3/exports/libsmbclient.version.syms b/source3/exports/libsmbclient.version.syms
new file mode 100644
index 0000000000..6afdbcbadf
--- /dev/null
+++ b/source3/exports/libsmbclient.version.syms
@@ -0,0 +1,8 @@
+#
+# we use no version symbols for libsmbclient
+# to be compatible with 3.0.x
+#
+{
+ global: smbc_*;
+ local: *;
+};
diff --git a/source3/exports/libsmbsharemodes.version.syms b/source3/exports/libsmbsharemodes.version.syms
new file mode 100644
index 0000000000..cf3f0336e9
--- /dev/null
+++ b/source3/exports/libsmbsharemodes.version.syms
@@ -0,0 +1,7 @@
+#
+# we use no version symbols for libsmbsharemodes
+# to be compatible with 3.0.x
+#
+{
+ global: *;
+};