mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-28 21:11:41 -09:00
package/libnftnl: remove json support
JSON support and the jansson dependency have been removed in version
1.1.2.
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(cherry picked from commit b634d504cb)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
542f86d7e1
commit
f4f8ed6d16
@@ -13,13 +13,3 @@ config BR2_PACKAGE_LIBNFTNL
|
||||
currently used by nftables.
|
||||
|
||||
http://netfilter.org/projects/libnftnl/index.html
|
||||
|
||||
if BR2_PACKAGE_LIBNFTNL
|
||||
|
||||
config BR2_PACKAGE_LIBNFTNL_JSON
|
||||
bool "enable JSON support"
|
||||
select BR2_PACKAGE_JANSSON
|
||||
help
|
||||
Enable JSON parsing support
|
||||
|
||||
endif
|
||||
|
||||
@@ -12,11 +12,4 @@ LIBNFTNL_LICENSE_FILES = COPYING
|
||||
LIBNFTNL_INSTALL_STAGING = YES
|
||||
LIBNFTNL_DEPENDENCIES = host-pkgconf libmnl
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBNFTNL_JSON),y)
|
||||
LIBNFTNL_CONF_OPTS += --with-json-parsing
|
||||
LIBNFTNL_DEPENDENCIES += jansson
|
||||
else
|
||||
LIBNFTNL_CONF_OPTS += --without-json-parsing
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
@@ -42,10 +42,6 @@ else
|
||||
NFTABLES_CONF_OPTS += --disable-python
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_JSON),yy)
|
||||
NFTABLES_LIBS += -ljansson -lm
|
||||
endif
|
||||
|
||||
NFTABLES_CONF_ENV = LIBS="$(NFTABLES_LIBS)"
|
||||
|
||||
define NFTABLES_LINUX_CONFIG_FIXUPS
|
||||
|
||||
Reference in New Issue
Block a user