mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-02 02:38:48 +00:00
nftables: Fix build on musl when xtables enabled
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
6ca6265f7e
commit
7c0f6444e2
@ -33,6 +33,9 @@ EXTRA_OECONF = " \
|
|||||||
|
|
||||||
PEP517_SOURCE_PATH = "${S}/py"
|
PEP517_SOURCE_PATH = "${S}/py"
|
||||||
|
|
||||||
|
# xtables will need it on musl see iptables
|
||||||
|
CFLAGS:append:libc-musl = " -D__UAPI_DEF_ETHHDR=0"
|
||||||
|
|
||||||
inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python_setuptools_build_meta', '', d)}
|
inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python_setuptools_build_meta', '', d)}
|
||||||
|
|
||||||
PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}"
|
PACKAGES =+ "${@bb.utils.contains('PACKAGECONFIG', 'python', '${PN}-python', '', d)}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user