Ver Fonte

Added llvm-mingw detection.

Brucey há 3 anos atrás
pai
commit
488efde3c2
1 ficheiros alterados com 7 adições e 0 exclusões
  1. 7 0
      maxutil.mod/maxutil.bmx

+ 7 - 0
maxutil.mod/maxutil.bmx

@@ -126,6 +126,13 @@ Function MinGWPath:String()
 			Return _minGWPath
 		End If
 
+		path = BlitzMaxPath() + "/llvm-mingw/bin"
+		If FileType(path) = FILETYPE_DIR Then
+			' bin dir exists, go with that
+			_minGWPath = BlitzMaxPath() + "/llvm-mingw"
+			Return _minGWPath
+		End If
+
 		' try MINGW environment variable
 		path = getenv_("MINGW")
 		If path And FileType(path) = FILETYPE_DIR Then