[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [PATCH] gobject-introspection: inherit python3targetconfig
From:       "Ovidiu Panait" <ovidiu.panait () windriver ! com>
Date:       2023-03-29 8:38:17
Message-ID: 20230329083817.2637609-1-ovidiu.panait () windriver ! com
[Download RAW message or body]

When building gobject-introspection for aarch64, the generated giscanner
python module has the wrong "x86_64" suffix:
./usr/lib/gobject-introspection/giscanner/_giscanner.cpython-311-x86_64-linux-gnu.so

The EXT_SUFFIX used by meson to generate the python module is taken
from the native python3 sysconfig instead of the target sysconfig.

Replace the python3native inherit with python3targetconfig to fix this.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
---
 .../gobject-introspection/gobject-introspection_1.74.0.bb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.74.0.bb \
b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.74.0.bb index \
                ab9d2d35d9..781ed65da3 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.74.0.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.74.0.bb
@@ -21,7 +21,7 @@ SRC_URI[sha256sum] = \
"347b3a719e68ba4c69ff2d57ee2689233ea8c07fc492205e573386779e  
 SRC_URI:append:class-native = " \
file://0001-Relocate-the-repository-directory-for-native-builds.patch"  
-inherit meson pkgconfig gtk-doc python3native qemu gobject-introspection-data \
upstream-version-is-even multilib_script +inherit meson pkgconfig gtk-doc \
python3targetconfig qemu gobject-introspection-data upstream-version-is-even \
multilib_script  
 GTKDOC_MESON_OPTION = "gtk_doc"
 
-- 
2.39.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#179269): https://lists.openembedded.org/g/openembedded-core/message/179269
Mute This Topic: https://lists.openembedded.org/mt/97924147/4454766
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic