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:
parent
330e892ff6
commit
7c707a73a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user