diff options
author | Vinson Lee <vlee@vmware.com> | 2009-09-09 08:21:05 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-09-09 08:21:07 -0600 |
commit | d27d659043bd7f2bd9a2636209f299cda0664230 (patch) | |
tree | 0d8fe4142e7209de555dca2caf965560fcf62cb9 /common.py | |
parent | 42943a4cf90d66ade212feea29a29a3702eec6c1 (diff) | |
download | mesa-d27d659043bd7f2bd9a2636209f299cda0664230.tar.gz |
scons: Set default_dri to no for Mac OS.
Mac OS does not have libdrm.
Diffstat (limited to 'common.py')
-rw-r--r-- | common.py | 4 |
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' |