Disable native tests when cross-compiling

This commit is contained in:
Pierre Pronchery 2016-09-06 01:43:33 +02:00
parent 732929f20f
commit f61171ebb6

View File

@ -117,8 +117,14 @@ if [ $# -eq 0 ]; then
exit $?
fi
if [ -n "$PKG_CONFIG_SYSROOT_DIR" ]; then
#XXX cross-compiling
tests="pkgconfig.sh"
failures="array config error event includes pkgconfig.sh string variable"
else
tests="array config error event includes pkgconfig.sh string variable"
failures=
fi
if $PKGCONFIG --exists "python-2.7"; then
tests="$tests python.sh"
else