diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-03-28 22:53:17 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-03-28 22:54:17 -0700 |
commit | 7c0f6444e208562075c79afd616891dc1957c1de (patch) | |
tree | a318226c6a53d76cd745b5c10d13c71388b6cb14 /meta-networking | |
parent | 6ca6265f7ea821cda292ef89ac77ba98bdf20cd2 (diff) | |
download | meta-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.bb | 3 |
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 | ||
34 | PEP517_SOURCE_PATH = "${S}/py" | 34 | PEP517_SOURCE_PATH = "${S}/py" |
35 | 35 | ||
36 | # xtables will need it on musl see iptables | ||
37 | CFLAGS:append:libc-musl = " -D__UAPI_DEF_ETHHDR=0" | ||
38 | |||
36 | inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python_setuptools_build_meta', '', d)} | 39 | inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python_setuptools_build_meta', '', d)} |
37 | 40 | ||
38 | PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}" | 41 | PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}" |