[Buildroot] pkg-meson.mk: support for the host python packages

Peter Seiderer ps.report at gmx.net
Mon Apr 22 12:14:05 UTC 2024


On Mon, 22 Apr 2024 12:46:04 +0200, Yegor Yefremov <yegorslists at googlemail.com> wrote:

> libglib2 2.80.0 requires host-python-packaging to build the library [1].
>
> What is the best way to tell meson/ninja where to look for our host
> python packages?
>
> [1] https://gitlab.gnome.org/GNOME/glib/-/commit/fc6f06127cff9fe3e464b5be8c92ea08a679b620

diff --git a/package/libglib2/libglib2.mk b/package/libglib2/libglib2.mk
index c06ded2a5b..819282910a 100644
--- a/package/libglib2/libglib2.mk
+++ b/package/libglib2/libglib2.mk
@@ -34,9 +34,11 @@ HOST_LIBGLIB2_CONF_OPTS = \

 LIBGLIB2_DEPENDENCIES = \
        host-pkgconf host-libglib2 \
+       host-python3 host-python-packaging \
        libffi pcre2 zlib $(TARGET_NLS_DEPENDENCIES)

 HOST_LIBGLIB2_DEPENDENCIES = \
+       host-python3 host-python-packaging \
        host-gettext \
        host-libffi \
        host-pcre2 \

Regards,
Peter

>
> Best regards,
> Yegor
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot




More information about the buildroot mailing list