build: use -export-symbols-regex to only export public API symbols

feature/tap-sh
William Pitcock 2016-12-10 16:23:02 -06:00
parent d58ac74669
commit 8a6d0b5e31
1 changed files with 1 additions and 2 deletions

View File

@ -90,8 +90,7 @@ libpkgconf_la_SOURCES = \
libpkgconf/dependency.c \
libpkgconf/queue.c \
libpkgconf/path.c
libpkgconf_la_LDFLAGS = -version-info 2:0:0
# -export-symbols-regex '^pkgconf_'
libpkgconf_la_LDFLAGS = -version-info 2:0:0 -export-symbols-regex '^pkgconf_'
dist_man_MANS = pkgconf.1
pkgconf_LDADD = libpkgconf.la