]> code.ossystems Code Review - openembedded-core.git/commit
json-c: backport patch to fix uClibc link issues
authorAndré Draszik <adraszik@tycoint.com>
Fri, 24 Jun 2016 10:54:29 +0000 (11:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Jul 2016 15:08:45 +0000 (16:08 +0100)
commit964456b0a2b9404ea54d6905a418ecf52b522bca
tree2cd61f533f0a0099a0fc4b8d1ee74ead4a8d63e0
parent181918f5a3ce662f7df333c584c11f1c261f0269
json-c: backport patch to fix uClibc link issues

We need to link against libm as we get linker errors otherwise:

<sysroot>/usr/lib/libjson-c.so.2: undefined reference to `__isnan'
<sysroot>/usr/lib/libjson-c.so.2: undefined reference to `__isinf'
collect2: error: ld returned 1 exit status

Backport the upstream patch.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/json-c/json-c/0001-Link-against-libm-when-needed.patch [new file with mode: 0644]
meta/recipes-devtools/json-c/json-c_0.12.bb