ngx-http-auth-jwt-module
ngx-http-auth-jwt-module copied to clipboard
Fix link with jansson
jansson/lib/libjansson.a(value.o): In function `json_real':
value.c:(.text+0x3134): undefined reference to `__isnan'
value.c:(.text+0x314c): undefined reference to `__isinf'
jansson/lib/libjansson.a(value.o): In function `json_real_set':
value.c:(.text+0x3294): undefined reference to `__isnan'
value.c:(.text+0x32ac): undefined reference to `__isinf'
collect2: error: ld returned 1 exit status
@fitzyjoe can you review this, please?
@orgads thanks for the PR! Can you explain what -lm
does for us here?
Links with the standard math lib. The functions _isnan
and _isinf
are used in jansson.
This looks good, just needs to be rebased.
Thank you.