Ignore the tests when cross-compiling

This commit is contained in:
Pierre Pronchery 2016-09-15 03:45:59 +02:00
parent d52b5bcdf8
commit 2e4494a202

View File

@ -69,6 +69,8 @@ _tests()
ret=0
$DATE
#XXX cross-compiling
[ -n "$PKG_CONFIG_SYSROOT_DIR" ] && return 0
_test "Darwin" "binary" || ret=2
_test "Darwin" "library" || ret=2
_test "Darwin" "libtool" || ret=2