summaryrefslogtreecommitdiffstats
path: root/meta-networking
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-03-28 22:53:17 -0700
committerKhem Raj <raj.khem@gmail.com>2025-03-28 22:54:17 -0700
commit7c0f6444e208562075c79afd616891dc1957c1de (patch)
treea318226c6a53d76cd745b5c10d13c71388b6cb14 /meta-networking
parent6ca6265f7ea821cda292ef89ac77ba98bdf20cd2 (diff)
downloadmeta-openembedded-7c0f6444e208562075c79afd616891dc1957c1de.tar.gz
nftables: Fix build on musl when xtables enabled
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r--meta-networking/recipes-filter/nftables/nftables_1.1.1.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-networking/recipes-filter/nftables/nftables_1.1.1.bb b/meta-networking/recipes-filter/nftables/nftables_1.1.1.bb
index 17709016be..f0f51f5397 100644
--- a/meta-networking/recipes-filter/nftables/nftables_1.1.1.bb
+++ b/meta-networking/recipes-filter/nftables/nftables_1.1.1.bb
@@ -33,6 +33,9 @@ EXTRA_OECONF = " \
33 33
34PEP517_SOURCE_PATH = "${S}/py" 34PEP517_SOURCE_PATH = "${S}/py"
35 35
36# xtables will need it on musl see iptables
37CFLAGS:append:libc-musl = " -D__UAPI_DEF_ETHHDR=0"
38
36inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python_setuptools_build_meta', '', d)} 39inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python_setuptools_build_meta', '', d)}
37 40
38PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}" 41PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}"