From: Vinson Lee Date: Wed, 9 Sep 2009 14:21:05 +0000 (-0600) Subject: scons: Set default_dri to no for Mac OS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d27d659;p=mesa.git scons: Set default_dri to no for Mac OS. Mac OS does not have libdrm. --- 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'