#!/bin/sh
# Wrapper script to run binaries under qemu user-mode emulation
set -x

if [ True = False -a "qemuwrapper-cross" != "nativesdk-qemuwrapper-cross" ]; then
	echo "qemuwrapper: qemu usermode is not supported"
	exit 1
fi


qemu-aarch64 -r 5.15  -E LD_LIBRARY_PATH=$D/usr/lib:$D/usr/lib "$@"
