ngx-http-auth-jwt-module icon indicating copy to clipboard operation
ngx-http-auth-jwt-module copied to clipboard

Fix link with jansson

Open orgads opened this issue 3 years ago • 1 comments

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

orgads avatar Sep 01 '21 16:09 orgads

@fitzyjoe can you review this, please?

JoshMcCullough avatar Sep 08 '21 17:09 JoshMcCullough

@orgads thanks for the PR! Can you explain what -lm does for us here?

JoshMcCullough avatar Nov 08 '22 01:11 JoshMcCullough

Links with the standard math lib. The functions _isnan and _isinf are used in jansson.

orgads avatar Nov 08 '22 03:11 orgads

This looks good, just needs to be rebased.

JoshMcCullough avatar Nov 09 '22 15:11 JoshMcCullough

Thank you.

orgads avatar Nov 09 '22 15:11 orgads