diff options
author | Marcus Comstedt | 2018-12-05 22:50:03 +0100 |
---|---|---|
committer | Marcus Comstedt | 2018-12-05 22:50:03 +0100 |
commit | 13a3d522ed8e4dbe58df1ad3e3aff5f61f83c7ea (patch) | |
tree | 3dd9ad2e90d6d35f8f98dd8649fabba425b8f9a7 /configure | |
parent | 1855d1cf13de5c9f4cf84fc07ab4b5053cae5295 (diff) | |
download | scummvm-rg350-13a3d522ed8e4dbe58df1ad3e3aff5f61f83c7ea.tar.gz scummvm-rg350-13a3d522ed8e4dbe58df1ad3e3aff5f61f83c7ea.tar.bz2 scummvm-rg350-13a3d522ed8e4dbe58df1ad3e3aff5f61f83c7ea.zip |
BUILD: Also add $LIBS in cc_check()
This should hopefully fix the problems caused by -Dmain=SDL_main in
the MinGW build.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -283,12 +283,12 @@ cc_check_no_clean() { echo >> "$TMPLOG" cat "$TMPC" >> "$TMPLOG" echo >> "$TMPLOG" - echo "$CXX $LDFLAGS $CXXFLAGS $DEFINES $INCLUDES $TMPC -o $TMPO$HOSTEXEEXT $@" >> "$TMPLOG" + echo "$CXX $LDFLAGS $CXXFLAGS $DEFINES $INCLUDES $TMPC $LIBS -o $TMPO$HOSTEXEEXT $@" >> "$TMPLOG" rm -f "$TMPO$HOSTEXEEXT" if test "-c" = "$*" ; then ( $CXX $CXXFLAGS $DEFINES $INCLUDES "$TMPC" -o "$TMPO$HOSTEXEEXT" "$@" ) >> "$TMPLOG" 2>&1 else - ( $CXX $LDFLAGS $CXXFLAGS $DEFINES $INCLUDES "$TMPC" -o "$TMPO$HOSTEXEEXT" "$@" ) >> "$TMPLOG" 2>&1 + ( $CXX $LDFLAGS $CXXFLAGS $DEFINES $INCLUDES "$TMPC" $LIBS -o "$TMPO$HOSTEXEEXT" "$@" ) >> "$TMPLOG" 2>&1 fi TMPR="$?" echo "return code: $TMPR" >> "$TMPLOG" |