diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-07-08 22:30:47 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-07-08 22:45:07 -0400 |
commit | 395d1f509ac879dfedb9c4ef05de3f3293cf9b13 (patch) | |
tree | 697c2b0a4bd593c20807e65c11029be80536bfaf /common/Makefile.am | |
parent | 571918ab8d3147861e5525d4dee869024099af02 (diff) | |
download | dconf-395d1f509ac879dfedb9c4ef05de3f3293cf9b13.tar.gz |
common/: make 'hidden' variant of libdconf-common
Compile a version of libdconf-common.a with -fvisibility=hidden. This
is included in the GSettings backend to prevent leaking the dconf client
library symbols into the global namespace.
Diffstat (limited to 'common/Makefile.am')
-rw-r--r-- | common/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
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) |