Disable native tests when cross-compiling
This commit is contained in:
parent
732929f20f
commit
f61171ebb6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user