mirror of
https://github.com/akheron/jansson.git
synced 2025-04-06 05:55:05 +00:00
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
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue