diff options
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rwxr-xr-x | test/suites/api/check-exports | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 018262e..2926172 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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@ diff --git a/test/suites/api/check-exports b/test/suites/api/check-exports index 9adca7d..2b6b3c7 100755 --- a/test/suites/api/check-exports +++ b/test/suites/api/check-exports @@ -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 |