From 917c57797504e41f91d8f57417f142ca05f87d65 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 26 Jul 2023 19:59:25 -0700 Subject: python3-pyaudio: Fix cross builds Do not poison include paths with build system include and lib dirs these paths get appended to cflags/ldflags when building the c extention Fixes | /mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/python3-pyaudio/0.2.13-r0/recipe-sysroot/usr/include/python3.11/pyconfig.h:23:10: fatal error: 'python3.11/pyconfig-32.h' file not found | 23 | #include | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | 1 error generated. Signed-off-by: Khem Raj Cc: Trevor Gamblin --- meta-python/recipes-devtools/python/python3-pyaudio_0.2.13.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-python/recipes-devtools/python/python3-pyaudio_0.2.13.bb') diff --git a/meta-python/recipes-devtools/python/python3-pyaudio_0.2.13.bb b/meta-python/recipes-devtools/python/python3-pyaudio_0.2.13.bb index dbeed9c2d8..1f0b5cf6e8 100644 --- a/meta-python/recipes-devtools/python/python3-pyaudio_0.2.13.bb +++ b/meta-python/recipes-devtools/python/python3-pyaudio_0.2.13.bb @@ -10,6 +10,8 @@ SRC_URI[sha256sum] = "26bccc81e4243d1c0ff5487e6b481de6329fcd65c79365c267cef38f36 inherit pypi setuptools3 +SRC_URI += "file://0001-Remove-absolute-paths-into-build-machine-system-dirs.patch" + DEPENDS += "portaudio-v19" RDEPENDS:${PN} += "portaudio-v19" -- cgit v1.2.3-54-g00ecf