From d27d659043bd7f2bd9a2636209f299cda0664230 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 9 Sep 2009 08:21:05 -0600 Subject: [PATCH] scons: Set default_dri to no for Mac OS. Mac OS does not have libdrm. --- common.py | 4 ++-- 1 file 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' -- 2.30.2