g-ir-scanner-qemuwrapper 885 B

1234567891011
  1. #!/bin/sh
  2. # Use a modules directory which doesn't exist so we don't load random things
  3. # which may then get deleted (or their dependencies) and potentially segfault
  4. export GIO_MODULE_DIR=/oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/lib/gio/modules-dummy
  5. PSEUDO_UNLOAD=1 qemu-arm -r 3.2.0 -L /oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm -E LD_LIBRARY_PATH=$GIR_EXTRA_LIBS_PATH:.libs:/oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm//usr/lib:/oe/bld/build-CORTEX_1/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm//lib "$@"
  6. if [ $? -ne 0 ]; then
  7. echo "If the above error message is about missing .so libraries, then setting up GIR_EXTRA_LIBS_PATH in the recipe should help."
  8. echo "(typically like this: GIR_EXTRA_LIBS_PATH=\"$""{B}/something/.libs\" )"
  9. exit 1
  10. fi