summaryrefslogtreecommitdiff
path: root/lib/libsndio
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-12-26 15:23:34 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-12-26 15:23:34 +0000
commit89d6890eb7f2b25bb28514274a2e5f0a68e33f64 (patch)
treecafece0a6cff9a378d51bf8fb7881366191be74d /lib/libsndio
parentfeeda80acb3488e981eb90c23a74bfa614455901 (diff)
Use a version script to limit exported symbols
ok ratchov@ kettenis@
Diffstat (limited to 'lib/libsndio')
-rw-r--r--lib/libsndio/Makefile4
-rw-r--r--lib/libsndio/shlib_version4
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/libsndio/Makefile b/lib/libsndio/Makefile
index 86872563859..05e69a363e7 100644
--- a/lib/libsndio/Makefile
+++ b/lib/libsndio/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2016/03/30 06:38:43 jmc Exp $
+# $OpenBSD: Makefile,v 1.13 2017/12/26 15:23:33 jca Exp $
LIB= sndio
MAN= sio_open.3 mio_open.3 sndio.7
@@ -7,4 +7,6 @@ SRCS= debug.c aucat.c sio_aucat.c sio_sun.c sio.c \
CFLAGS+=-DDEBUG
COPTS+= -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wundef
+VERSION_SCRIPT= ${.CURDIR}/Symbols.map
+
.include <bsd.lib.mk>
diff --git a/lib/libsndio/shlib_version b/lib/libsndio/shlib_version
index 1394f4e4035..5b844bbf422 100644
--- a/lib/libsndio/shlib_version
+++ b/lib/libsndio/shlib_version
@@ -1,2 +1,2 @@
-major=6
-minor=1
+major=7
+minor=0