[SCM] unicap/master: Restrict exported symbols to unicap_* namespace

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Tue Oct 3 13:48:32 UTC 2017


The following commit has been merged in the master branch:
commit 68596d2b3bb612d66b744975313dae4fe7ca8b40
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Tue Oct 3 15:11:13 2017 +0200

    Restrict exported symbols to unicap_* namespace

diff --git a/debian/libunicap.ver b/debian/libunicap.ver
new file mode 100644
index 0000000..d27489b
--- /dev/null
+++ b/debian/libunicap.ver
@@ -0,0 +1,6 @@
+{
+	global:
+		unicap_*;
+	local:
+		*;
+};
diff --git a/debian/rules b/debian/rules
index 84923bf..b0dfa23 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,7 @@ export DEB_LDFLAGS_MAINT_APPEND = \
 	-Wl,-z,defs \
 	-Wl,--as-needed \
 	-Wl,--no-undefined \
+	-Wl,--version-script=$(CURDIR)/debian/libunicap.ver \
 	$(empty)
 
 %:

-- 
unicap packaging



More information about the pkg-multimedia-commits mailing list