X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=common.py;h=1d0c6a71fa5419d538ffcdafa8a4f653339e4d76;hb=a5ee80a2645648d88a95831ac12e0790eb76b68c;hp=b74b204a04fc795369c21feede939f6fd139b9fe;hpb=33d8ff9c317eeb1300bc8e189d7b9c00b352323a;p=mesa.git diff --git a/common.py b/common.py index b74b204a04f..1d0c6a71fa5 100644 --- a/common.py +++ b/common.py @@ -15,6 +15,8 @@ import SCons.Script.SConscript # Defaults host_platform = _platform.system().lower() +if host_platform.startswith('cygwin'): + host_platform = 'cygwin' # Search sys.argv[] for a "platform=foo" argument since we don't have # an 'env' variable at this point.