libubox: correct json-c handling
authorPeter Korsgaard <peter@korsgaard.com>
Tue, 25 Mar 2014 22:51:54 +0000 (23:51 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 25 Mar 2014 22:51:54 +0000 (23:51 +0100)
commit4a93b8f72be21a91345285d6c10515184a3f3fe5
tree70f3e418c96e56f09266caec0f3af44f5f196273
parent2e628372d34d9e77727185aaf47c82a439a22244
libubox: correct json-c handling

Fixes http://autobuild.buildroot.net/results/5a8/5a85e0e132f38a4a1a42c2b041f66003b64e748a/
(and a bunch of similar failures)

libubox has optional json-c handling, including the legacy version which
used libjson.so.  Unfortunately this support is buggy, so we end up with the
wrong compiler flags, and more importantly it gets confused if libjson is
enabled, as that also provides a (incompatible) libjson.so.

Fix it by disabling the legacy handling.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libubox/libubox-01-drop-legacy-json-c.patch [new file with mode: 0644]
package/libubox/libubox.mk