Skip to content

Commit

Permalink
- conan profile new --detect for MSYS (#2798)
Browse files Browse the repository at this point in the history
Signed-off-by: SSE4 <tomskside@gmail.com>
  • Loading branch information
SSE4 authored and lasote committed Apr 27, 2018
1 parent 10aedbc commit f439628
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions conans/client/conf/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@ def detected_os():
return "Macos"
if result.startswith("CYGWIN"):
return "Windows"
if result.startswith("MINGW32_NT") or result.startswith("MINGW64_NT"):
return "Windows"
if result.startswith("MSYS_NT"):
return "Windows"
return result


Expand Down

0 comments on commit f439628

Please sign in to comment.