void-packages/srcpkgs/gobject-introspection/files/g-ir-scanner-qemuwrapper
Jürgen Buchmüller b47cbe317a gobject-introspection: undo previous stupid change
Actually GIR_EXTRA_LIBS_PATH is already doing what is needed for uhttpmock.
2019-04-30 01:37:31 +02:00

9 lines
393 B
Bash
Executable file

#!/bin/sh
# Use a modules directory which doesn't exist so we don't load random things
# which may then get deleted (or their dependencies) and potentially segfault
export GIO_MODULE_DIR=${XBPS_CROSS_BASE}/gio/modules-dummy
/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static \
-L ${XBPS_CROSS_BASE} \
-E LD_LIBRARY_PATH="${XBPS_CROSS_BASE}/usr/lib:.libs:${GIR_EXTRA_LIBS_PATH}" \
"$@"