mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 18:49:32 +02:00
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. (From OE-Core rev: 964456b0a2b9404ea54d6905a418ecf52b522bca) Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
15c3c3e54c
commit
d81b9185a1
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
|
||||
|
||||
SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \
|
||||
file://0001-json_tokener-requires-INF-and-NAN.patch \
|
||||
file://0001-Link-against-libm-when-needed.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "3ca4bbb881dfc4017e8021b5e0a8c491"
|
||||
|
||||
Reference in New Issue
Block a user