summaryrefslogtreecommitdiff
path: root/json-glib
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@openedhand.com>2008-04-24 15:02:33 +0100
committerEmmanuele Bassi <ebassi@openedhand.com>2008-04-24 15:02:33 +0100
commit07c2b916dadb4b40fbaabf49f0e80941993cc2cf (patch)
treeb831b66f39a0c763bf87527788d10bba0c6d2da4 /json-glib
parent179899e5da801fda0981a1d446ba420efd4021c1 (diff)
downloadjson-glib-07c2b916dadb4b40fbaabf49f0e80941993cc2cf.tar.gz
Export only the public symbols
All the symbols starting with an underscore or with something that is not "json" are to considered private, and thus are not global to the shared object.
Diffstat (limited to 'json-glib')
-rw-r--r--json-glib/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/json-glib/Makefile.am b/json-glib/Makefile.am
index 43d231a..f65a1c8 100644
--- a/json-glib/Makefile.am
+++ b/json-glib/Makefile.am
@@ -16,7 +16,11 @@ INCLUDES = \
$(JSON_DEBUG_CFLAGS) \
$(NULL)
-LDADD = $(JSON_LT_LDFLAGS) -export-dynamic -rpath $(libdir)
+LDADD = \
+ $(JSON_LT_LDFLAGS) \
+ -export-dynamic \
+ -export-symbols-regex "^json.*" \
+ -rpath $(libdir)
BUILT_SOURCES = json-marshal.h json-marshal.c json-enum-types.h json-enum-types.c