From cbe4b0a71fdac86e6eaf09ee6ed5b8fa313287ac Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Sun, 20 Apr 2014 10:22:39 +0300 Subject: [PATCH] jansson: needs math library libjansson.so doesn't list libm in its NEEDED header. Fixes the following nftables config time failure: .../usr/lib/libjansson.so.4: undefined reference to `__isnan' .../usr/lib/libjansson.so.4: undefined reference to `__isinf' Fixes: http://autobuild.buildroot.net/results/152/1525d7a3e1d1fcf35858962251c0b69a5e1b64db/ Signed-off-by: Baruch Siach Signed-off-by: Thomas Petazzoni --- package/jansson/jansson.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/jansson/jansson.mk b/package/jansson/jansson.mk index 6ead0ec10c..d51e7097cd 100644 --- a/package/jansson/jansson.mk +++ b/package/jansson/jansson.mk @@ -9,5 +9,6 @@ JANSSON_SITE = http://www.digip.org/jansson/releases JANSSON_LICENSE = MIT JANSSON_LICENSE_FILES = LICENSE JANSSON_INSTALL_STAGING = YES +JANSSON_CONF_ENV = LIBS="-lm" $(eval $(autotools-package)) -- 2.30.2