summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/.gitignore1
-rw-r--r--common/Makefile.am5
2 files changed, 5 insertions, 1 deletions
diff --git a/common/.gitignore b/common/.gitignore
index 3285a15..8209281 100644
--- a/common/.gitignore
+++ b/common/.gitignore
@@ -1,2 +1,3 @@
libdconf-common.a
+libdconf-common-hidden.a
libdconf-common-shared.a
diff --git a/common/Makefile.am b/common/Makefile.am
index 10856f2..77903f1 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -3,7 +3,7 @@ include $(top_srcdir)/Makefile.gtester
dconfinclude_HEADERS = \
dconf-paths.h
-noinst_LIBRARIES = libdconf-common.a libdconf-common-shared.a
+noinst_LIBRARIES = libdconf-common.a libdconf-common-shared.a libdconf-common-hidden.a
libdconf_common_a_CFLAGS = $(glib_CFLAGS)
libdconf_common_a_SOURCES = \
@@ -13,3 +13,6 @@ libdconf_common_a_SOURCES = \
libdconf_common_shared_a_CFLAGS = $(libdconf_common_a_CFLAGS) -fPIC -DPIC
libdconf_common_shared_a_SOURCES = $(libdconf_common_a_SOURCES)
+
+libdconf_common_hidden_a_CFLAGS = $(libdconf_common_a_CFLAGS) -fPIC -DPIC -fvisibility=hidden
+libdconf_common_hidden_a_SOURCES = $(libdconf_common_a_SOURCES)