From 8a6d0b5e31be103d02711ef7dd94dbf208a14e2c Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 10 Dec 2016 16:23:02 -0600 Subject: [PATCH] build: use -export-symbols-regex to only export public API symbols --- Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4b04aec..40d8a12 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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