This merges part of gobject-introspection tools, but not all of it. Unfortunately this creates a cyclic dependency between glib and gi. This is supposed to be temporary. https://discourse.gnome.org/t/dealing-with-glib-and-gobject-introspection-circular-dependency/18701 https://gitlab.gnome.org/GNOME/glib/-/issues/2616 https://docs.gtk.org/girepository/migrating-gi.html
10 lines
415 B
Bash
Executable file
10 lines
415 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Ensure GIO_MODULE_DIR is not set so we don't load random things
|
|
# which may then get deleted (or their dependencies) and potentially segfault
|
|
/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static ${GIR_EXTRA_OPTIONS} \
|
|
-L ${XBPS_CROSS_BASE} \
|
|
-E LD_LIBRARY_PATH="${XBPS_CROSS_BASE}/usr/lib:.libs:${GIR_EXTRA_LIBS_PATH}" \
|
|
-E GI_TYPELIB_SYSROOT="${XBPS_CROSS_BASE}" \
|
|
-U GIO_MODULE_DIR \
|
|
"$@"
|