Merge pull request #534 from xry111/shared_lib_interface_fix
add jansson_* to shared library exports
This commit is contained in:
commit
a839d3cad6
@ -24,6 +24,6 @@ libjansson_la_SOURCES = \
|
||||
version.c
|
||||
libjansson_la_LDFLAGS = \
|
||||
-no-undefined \
|
||||
-export-symbols-regex '^json_' \
|
||||
-export-symbols-regex '^json_|^jansson_' \
|
||||
-version-info 16:0:12 \
|
||||
@JSON_BSYMBOLIC_LDFLAGS@
|
||||
|
@ -7,7 +7,7 @@ SOFILE="../src/.libs/libjansson.so"
|
||||
|
||||
# The list of symbols, which the shared object should export, is read
|
||||
# from the def file, which is used in Windows builds
|
||||
grep 'json_' $top_srcdir/src/jansson.def \
|
||||
grep 'json_\|jansson_' $top_srcdir/src/jansson.def \
|
||||
| sed -e 's/ //g' \
|
||||
| sort \
|
||||
>$test_log/exports
|
||||
|
Loading…
Reference in New Issue
Block a user