Skip to content

Commit

Permalink
disable explicitly glib introspection for host builds. Otherwise a ho…
Browse files Browse the repository at this point in the history
…st installation of gobject-introspection could lead to build problems.

The meson.build contains

# introspection
gir_scanner = find_program('g-ir-scanner', required: get_option('introspection'))
enable_gir = get_option('introspection').allowed() and gir_scanner.found() and meson.can_run_host_binaries()

and find_program find the g-ir-scanner in /usr/bin on the host system and the build of glib fails.
  • Loading branch information
Zabrimus committed Sep 22, 2024
1 parent 0f7e211 commit 2dff23a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/devel/glib/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ PKG_LONGDESC="A library which includes support routines for C such as lists, tre
PKG_MESON_OPTS_HOST="-Ddefault_library=static \
-Dinstalled_tests=false \
-Dlibmount=disabled \
-Dintrospection=disabled \
-Dtests=false"

PKG_MESON_OPTS_TARGET="-Ddefault_library=shared \
Expand Down

0 comments on commit 2dff23a

Please sign in to comment.