From 2e4494a202d9785c9707108a8bc416337ca3653f Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Thu, 15 Sep 2016 03:45:59 +0200 Subject: [PATCH] Ignore the tests when cross-compiling --- tests/tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/tests.sh b/tests/tests.sh index 4362e17..b3f701e 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -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