Ticket #12752: 0002-fix-mingw-compiler-detection.patch

File 0002-fix-mingw-compiler-detection.patch, 474 bytes (added by Zach Bacon, 2 years ago)
  • filezilla-3.51.0/src/fzshellext/configure.ac

    old new  
    4646matching=
    4747cxx_v=`"$CXX" -v 2>&1`
    4848if echo "$cxx_v" | grep -i '^target:.*$' >/dev/null 2>&1; then
    49     if echo "$cxx_v" | grep -i '^target:.*mingw.*$' >/dev/null 2>&1; then
     49    if echo "$cxx_v" | grep -i '^target:.*mingw\|windows-gnu.*$' >/dev/null 2>&1; then
    5050        matching=1
    5151    fi
    5252else