Skip to content

Commit d3a0acd

Browse files
committed
mingw
1 parent 444a73e commit d3a0acd

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

selfcheck.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ if [ "$cxx_type" = "g++" ] || [ "$cxx_type" = "g++.exe" ]; then
5656
inc="$inc -I/usr/include/x86_64-linux-gnu"
5757
inc="$inc -I/usr/include/x86_64-linux-gnu/c++/$gcc_ver"
5858
fi
59+
if [ -d "/usr/lib/gcc/x86_64-pc-cygwin/$gcc_ver/include" ]; then # MSYS
60+
inc="$inc -I/usr/lib/gcc/x86_64-pc-cygwin/$gcc_ver/include"
61+
fi
62+
if [ -d "/usr/lib/gcc/x86_64-pc-cygwin/$gcc_ver/include/c++" ]; then # MSYS
63+
inc="$inc -I/usr/lib/gcc/x86_64-pc-cygwin/$gcc_ver/include/c++"
64+
fi
5965
elif [ "$cxx_type" = "clang" ]; then
6066
clang_ver=$($CXX -dumpversion)
6167
clang_ver=${clang_ver%%.*}

0 commit comments

Comments
 (0)