#!/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=/home/rcar/www/s4sk-xen/build-xen/yocto/build-domu/tmp/work/aarch64-poky-linux/gobject-introspection/1.62.0-r0/recipe-sysroot/usr/lib/gio/modules-dummy PSEUDO_UNLOAD=1 qemu-aarch64 -r 3.14 -L /home/rcar/www/s4sk-xen/build-xen/yocto/build-domu/tmp/work/aarch64-poky-linux/gobject-introspection/1.62.0-r0/recipe-sysroot -E LD_LIBRARY_PATH=$GIR_EXTRA_LIBS_PATH:.libs:/home/rcar/www/s4sk-xen/build-xen/yocto/build-domu/tmp/work/aarch64-poky-linux/gobject-introspection/1.62.0-r0/recipe-sysroot//usr/lib:/home/rcar/www/s4sk-xen/build-xen/yocto/build-domu/tmp/work/aarch64-poky-linux/gobject-introspection/1.62.0-r0/recipe-sysroot//lib "$@" if [ $? -ne 0 ]; then echo "If the above error message is about missing .so libraries, then setting up GIR_EXTRA_LIBS_PATH in the recipe should help." echo "(typically like this: GIR_EXTRA_LIBS_PATH=\"$""{B}/something/.libs\" )" exit 1 fi