BUILD: Don't try to run the curl test executable when cross-compiling
This commit is contained in:
parent
0ca22569b3
commit
8ba1bd0bd3
1 changed files with 8 additions and 3 deletions
11
configure
vendored
11
configure
vendored
|
@ -4185,11 +4185,16 @@ EOF
|
||||||
|
|
||||||
cc_check_no_clean $LIBCURL_CFLAGS $LIBCURL_LIBS
|
cc_check_no_clean $LIBCURL_CFLAGS $LIBCURL_LIBS
|
||||||
if test "$?" -eq 0; then
|
if test "$?" -eq 0; then
|
||||||
$TMPO$HOSTEXEEXT
|
if test -n "$_host"; then
|
||||||
if test "$?" -eq 0; then
|
# In cross-compiling mode, we cannot run the result, assume SSL is available
|
||||||
_libcurl=yes
|
_libcurl=yes
|
||||||
else
|
else
|
||||||
_libcurl="no SSL support"
|
$TMPO$HOSTEXEEXT
|
||||||
|
if test "$?" -eq 0; then
|
||||||
|
_libcurl=yes
|
||||||
|
else
|
||||||
|
_libcurl="no SSL support"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
cc_check_clean
|
cc_check_clean
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue