void-packages/srcpkgs/glib/files/gi-xbps-qemuwrapper
classabbyamp 9ab1405894
*: remove unnecessary execute permissions
* INSTALL scripts don't need to be executable
* anything installed by vbin is set to 755
* many of these files were otherwise marked executable in the template
  (vinstall, chmod, etc)
* some had no business being executable, like the smattering of patches
  and other files
* remove files from chroot-distcc no longer used in the template
  (46ce787b63d467d9b8e5ef8821e2ddefea4b980a)
2024-08-02 13:24:47 -04:00

11 lines
415 B
Bash

#!/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 \
"$@"