summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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