diff options
author | Emmanuele Bassi <ebassi@openedhand.com> | 2008-04-24 15:02:33 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@openedhand.com> | 2008-04-24 15:02:33 +0100 |
commit | 07c2b916dadb4b40fbaabf49f0e80941993cc2cf (patch) | |
tree | b831b66f39a0c763bf87527788d10bba0c6d2da4 | |
parent | 179899e5da801fda0981a1d446ba420efd4021c1 (diff) | |
download | json-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.
-rw-r--r-- | json-glib/Makefile.am | 6 |
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 |