summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-09-09 08:21:05 -0600
committerBrian Paul <[email protected]>2009-09-09 08:21:07 -0600
commitd27d659043bd7f2bd9a2636209f299cda0664230 (patch)
tree0d8fe4142e7209de555dca2caf965560fcf62cb9 /common.py
parent42943a4cf90d66ade212feea29a29a3702eec6c1 (diff)
scons: Set default_dri to no for Mac OS.
Mac OS does not have libdrm.
Diffstat (limited to 'common.py')
-rw-r--r--common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.py b/common.py
index a687efc86fa..ccb962981d1 100644
--- a/common.py
+++ b/common.py
@@ -33,9 +33,9 @@ else:
default_machine = _platform.machine()
default_machine = _machine_map.get(default_machine, 'generic')
-if default_platform in ('linux', 'freebsd', 'darwin'):
+if default_platform in ('linux', 'freebsd'):
default_dri = 'yes'
-elif default_platform in ('winddk', 'windows', 'wince'):
+elif default_platform in ('winddk', 'windows', 'wince', 'darwin'):
default_dri = 'no'
else:
default_dri = 'no'