diff options
author | André Draszik <adraszik@tycoint.com> | 2016-06-24 11:54:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-01 16:22:44 +0100 |
commit | d81b9185a19eab6b9627f460c1576cd445d63e93 (patch) | |
tree | 0582819d15be57e1135d5131e3108f86067a8218 /meta/recipes-devtools/json-c/json-c_0.12.bb | |
parent | 15c3c3e54c9c0203565343a5b9a8ef46ae0f6ed2 (diff) | |
download | poky-d81b9185a19eab6b9627f460c1576cd445d63e93.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/json-c/json-c_0.12.bb')
-rw-r--r-- | meta/recipes-devtools/json-c/json-c_0.12.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/json-c/json-c_0.12.bb b/meta/recipes-devtools/json-c/json-c_0.12.bb index 1a5c3948e1..d8c76dbf18 100644 --- a/meta/recipes-devtools/json-c/json-c_0.12.bb +++ b/meta/recipes-devtools/json-c/json-c_0.12.bb | |||
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2" | |||
6 | 6 | ||
7 | SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \ | 7 | SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \ |
8 | file://0001-json_tokener-requires-INF-and-NAN.patch \ | 8 | file://0001-json_tokener-requires-INF-and-NAN.patch \ |
9 | file://0001-Link-against-libm-when-needed.patch \ | ||
9 | " | 10 | " |
10 | 11 | ||
11 | SRC_URI[md5sum] = "3ca4bbb881dfc4017e8021b5e0a8c491" | 12 | SRC_URI[md5sum] = "3ca4bbb881dfc4017e8021b5e0a8c491" |