]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
gobject-introspection: inherit python3targetconfig
authorOvidiu Panait <ovidiu.panait@windriver.com>
Wed, 29 Mar 2023 08:38:17 +0000 (11:38 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Mar 2023 22:24:47 +0000 (23:24 +0100)
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>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-gnome/gobject-introspection/gobject-introspection_1.74.0.bb

index ab9d2d35d91c91eebce2338d3def3b481ca3d859..781ed65da3707d653fd42df1fd9f773b48c165c6 100644 (file)
@@ -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"