Disable native tests when cross-compiling

This commit is contained in:
Pierre Pronchery 2016-09-06 02:24:34 +02:00
parent 0e200396fc
commit cd20ada69e

View File

@ -119,6 +119,9 @@ if [ $# -eq 0 ]; then
exit $?
fi
#XXX cross-compiling
[ -n "$PKG_CONFIG_SYSROOT_DIR" ] && exit 0
while [ $# -ne 0 ]; do
target="$1"
shift