diff options
| author | Bastien Bouclet | 2016-08-30 20:59:26 +0200 |
|---|---|---|
| committer | Bastien Bouclet | 2016-08-30 21:20:00 +0200 |
| commit | 8ba1bd0bd34feb39b9ac89d1ca90b98570f7cf7f (patch) | |
| tree | 3fc04b63c240baed6e77a787d9123985a1944b82 /configure | |
| parent | 0ca22569b305c98b90d059cb127ebd7ffc0b6df1 (diff) | |
| download | scummvm-rg350-8ba1bd0bd34feb39b9ac89d1ca90b98570f7cf7f.tar.gz scummvm-rg350-8ba1bd0bd34feb39b9ac89d1ca90b98570f7cf7f.tar.bz2 scummvm-rg350-8ba1bd0bd34feb39b9ac89d1ca90b98570f7cf7f.zip | |
BUILD: Don't try to run the curl test executable when cross-compiling
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -4185,11 +4185,16 @@ EOF cc_check_no_clean $LIBCURL_CFLAGS $LIBCURL_LIBS if test "$?" -eq 0; then - $TMPO$HOSTEXEEXT - if test "$?" -eq 0; then + if test -n "$_host"; then + # In cross-compiling mode, we cannot run the result, assume SSL is available _libcurl=yes else - _libcurl="no SSL support" + $TMPO$HOSTEXEEXT + if test "$?" -eq 0; then + _libcurl=yes + else + _libcurl="no SSL support" + fi fi fi cc_check_clean |
