4a93b8f72b
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>
20 lines
569 B
Makefile
20 lines
569 B
Makefile
################################################################################
|
|
#
|
|
# libubox
|
|
#
|
|
################################################################################
|
|
|
|
LIBUBOX_VERSION = bbd846ec2d72b2629758b69dc122ac0b0f2c3e4b
|
|
LIBUBOX_SITE = git://nbd.name/luci2/libubox.git
|
|
LIBUBOX_LICENSE = LGPLv2.1, GPLv2, BSD-3c, MIT
|
|
LIBUBOX_INSTALL_STAGING = YES
|
|
LIBUBOX_DEPENDENCIES = host-pkgconf $(if $(BR2_PACKAGE_JSON_C),json-c)
|
|
|
|
ifeq ($(BR2_PACKAGE_LUA),y)
|
|
LIBUBOX_DEPENDENCIES += lua
|
|
else
|
|
LIBUBOX_CONF_OPT += -DBUILD_LUA:BOOL=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|