From: jca Date: Tue, 26 Dec 2017 15:23:33 +0000 (+0000) Subject: Use a version script to limit exported symbols X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9733588fdece600b851f823905864149e72eecbd;p=openbsd Use a version script to limit exported symbols ok ratchov@ kettenis@ --- 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 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