gobject-introspection: add GIR_EXTRA_OPTIONS
When encountering problems with running g-ir-scanner-qemuwrapper it is often desirable to be able to specify extra options like e.g. '-strace' to get more information from the build. This can now be achieved by specifying e.g. GIR_EXTRA_OPTIONS="-strace" in a problematic template (for the $CROSS_BUILD case). Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
89a0624abc
commit
b8b6544597
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
# which may then get deleted (or their dependencies) and potentially segfault
|
# which may then get deleted (or their dependencies) and potentially segfault
|
||||||
export GIO_MODULE_DIR=${XBPS_CROSS_BASE}/gio/modules-dummy
|
export GIO_MODULE_DIR=${XBPS_CROSS_BASE}/gio/modules-dummy
|
||||||
|
|
||||||
/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static \
|
/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static ${GIR_EXTRA_OPTIONS} \
|
||||||
-L ${XBPS_CROSS_BASE} \
|
-L ${XBPS_CROSS_BASE} \
|
||||||
-E LD_LIBRARY_PATH="${XBPS_CROSS_BASE}/usr/lib:.libs:${GIR_EXTRA_LIBS_PATH}" \
|
-E LD_LIBRARY_PATH="${XBPS_CROSS_BASE}/usr/lib:.libs:${GIR_EXTRA_LIBS_PATH}" \
|
||||||
"$@"
|
"$@"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'gobject-introspection'
|
# Template file for 'gobject-introspection'
|
||||||
pkgname=gobject-introspection
|
pkgname=gobject-introspection
|
||||||
version=1.60.0
|
version=1.60.0
|
||||||
revision=6
|
revision=7
|
||||||
build_style=meson
|
build_style=meson
|
||||||
pycompile_dirs="usr/lib/${pkgname}/giscanner"
|
pycompile_dirs="usr/lib/${pkgname}/giscanner"
|
||||||
hostmakedepends="flex pkg-config"
|
hostmakedepends="flex pkg-config"
|
||||||
|
|
Loading…
Reference in a new issue