akheron / jansson

C library for encoding, decoding and manipulating JSON data
http://www.digip.org/jansson/
Other
3.08k stars 814 forks source link

add jansson_* to shared library exports #534

Closed xry111 closed 4 years ago

xry111 commented 4 years ago

In 76300601d jansson_version_str and jansson_version_cmp were added. But they are not in the shared library interface. So with --disable-static in configure line, make check fails with undefined reference to 'jansson_version_cmp'.

This PR fixes it.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 95.561% when pulling bcb6b6f3fde24883c9ee1dc40deef69818e19307 on xry111:shared_lib_interface_fix into 2882ead5bb90cf12a01b07b2c2361e24960fae02 on akheron:master.

akheron commented 4 years ago

Merged, thanks!