diff mbox series

[meta-oe,05/12] hplip: Inherit python3targetconfig

Message ID 20230130050909.133727-5-raj.khem@gmail.com
State New
Headers show
Series [meta-networking,01/12] wireshark: Add nghttp2 packageconfig | expand

Commit Message

Khem Raj Jan. 30, 2023, 5:09 a.m. UTC
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>
---
 meta-oe/recipes-extended/hplip/hplip_3.22.10.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb b/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb
index e054553d85..d8e249f047 100644
--- a/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb
+++ b/meta-oe/recipes-extended/hplip/hplip_3.22.10.bb
@@ -20,7 +20,7 @@  SRC_URI[sha256sum] = "533c3f2f6b53e4163ded4fd81d1f11ae6162a0f6451bd5e62a8382d0c1
 
 DEPENDS += "cups python3 libusb"
 
-inherit autotools-brokensep python3-dir python3native pkgconfig systemd
+inherit autotools-brokensep python3-dir python3native python3targetconfig pkgconfig systemd
 
 export STAGING_INCDIR
 export STAGING_LIBDIR