[Lldb-commits] [PATCH] Change the way SWIG is found, and fixed a typo in OS detection

Ed Maste emaste at freebsd.org
Mon Nov 17 06:30:49 PST 2014


================
Comment at: scripts/utilsOsType.py:74-81
@@ -73,10 +73,9 @@
 	
 	strOS = sys.platform
 	if strOS == "win32":
-		eOSType = EnumOsType.Windows;
+		eOSType = EnumOsType.Windows
 	elif (strOS == "linux") or (strOS == "linux2"):
-		eOSType = EnumOsType.Linux;
+		eOSType = EnumOsType.Linux
 	elif strOS == "darwin":
-		eOSType == EnumOsType.Darwin;
-		
-	return eOSType;
+		eOSType = EnumOsType.Darwin
+	return eOSType
----------------
This is also broken for FreeBSD. I can take care of that and this Darwin fix in a moment.

http://reviews.llvm.org/D6290






More information about the lldb-commits mailing list