diff options
author | Petri Lehtinen <petri@digip.org> | 2009-11-29 13:04:00 +0200 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2009-11-29 13:04:12 +0200 |
commit | 7c707a73a2251c20afaecc028267b99d0ee60184 (patch) | |
tree | 4288f724f7909622ae146f9e9a12740b6b1c340e /src/Makefile.am | |
parent | 330e892ff645c4cb0956f32a6a28dfe7203b3390 (diff) | |
download | jansson-7c707a73a2251c20afaecc028267b99d0ee60184.zip jansson-7c707a73a2251c20afaecc028267b99d0ee60184.tar.gz jansson-7c707a73a2251c20afaecc028267b99d0ee60184.tar.bz2 |
Only export symbols starting with "json_" in libjansson.la
This way we don't pollute the symbol namespace with internal symbols.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 9e9ee6c..3ba8b8b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -13,6 +13,8 @@ libjansson_la_SOURCES = \ utf.h \ util.h \ value.c -libjansson_la_LDFLAGS = -version-info 1:1:1 +libjansson_la_LDFLAGS = \ + -export-symbols-regex '^json_' \ + -version-info 1:1:1 AM_CFLAGS = -Wall -Wextra -Werror |