Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] jansson: needs math library
@ 2014-04-20  7:22 Baruch Siach
  2014-04-20  8:55 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2014-04-20  7:22 UTC (permalink / raw)
  To: buildroot

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 <baruch@tkos.co.il>
---
 package/jansson/jansson.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/jansson/jansson.mk b/package/jansson/jansson.mk
index 6ead0ec10c9a..d51e7097cd8c 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))
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] jansson: needs math library
  2014-04-20  7:22 [Buildroot] [PATCH] jansson: needs math library Baruch Siach
@ 2014-04-20  8:55 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-04-20  8:55 UTC (permalink / raw)
  To: buildroot

Dear Baruch Siach,

On Sun, 20 Apr 2014 10:22:39 +0300, Baruch Siach wrote:
> 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 <baruch@tkos.co.il>
> ---
>  package/jansson/jansson.mk | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-20  8:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-20  7:22 [Buildroot] [PATCH] jansson: needs math library Baruch Siach
2014-04-20  8:55 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox