audit: Inherit python3targetconfig

It uses python3-config during build to grok the python specific
includedirs, therefore its important to ensure that target specific
python3-config is used, otherwise currently it defaults to native
python3-config which ends up adding native python3 include paths
which might work out ok but is exposed when target is 32bit + lfs
enabled, the headers don't match between native and target python

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2022-11-29 22:34:15 -08:00
parent 95bbffd666
commit c7fcebd05d
@@ -18,7 +18,7 @@ SRC_URI = "git://github.com/linux-audit/${BPN}-userspace.git;branch=master;proto
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
SRCREV = "81fa28e0e8b4be83ddba03de8b816a3df510c17e" SRCREV = "81fa28e0e8b4be83ddba03de8b816a3df510c17e"
inherit autotools python3native update-rc.d systemd inherit autotools python3native python3targetconfig update-rc.d systemd
UPDATERCPN = "auditd" UPDATERCPN = "auditd"
INITSCRIPT_NAME = "auditd" INITSCRIPT_NAME = "auditd"