Only export symbols starting with "json_" in libjansson.la

This way we don't pollute the symbol namespace with internal symbols.
This commit is contained in:
Petri Lehtinen 2009-11-29 13:04:00 +02:00
parent 330e892ff6
commit 7c707a73a2

View File

@ -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