Fixed a recently-introduced bug
This commit is contained in:
parent
588d0686e5
commit
ebf032e5c5
|
|
@ -695,7 +695,7 @@ for version,key1,key2,subdir in MAXVERSIONS:
|
|||
##
|
||||
########################################################################
|
||||
|
||||
if (OMIT.count("PYTHON")==0):
|
||||
if (OMIT.count("PYTHON")==0) and (sys.platform != "win32"):
|
||||
if (os.path.isdir("/usr/include/python2.5")): PYTHONSDK = "/usr/include/python2.5"
|
||||
elif (os.path.isdir("/usr/include/python2.4")): PYTHONSDK = "/usr/include/python2.4"
|
||||
elif (os.path.isdir("/usr/include/python2.3")): PYTHONSDK = "/usr/include/python2.3"
|
||||
|
|
|
|||
Loading…
Reference in New Issue