mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
scons: Set default_dri to no for Mac OS.
Mac OS does not have libdrm.
This commit is contained in:
parent
42943a4cf9
commit
d27d659043
1 changed files with 2 additions and 2 deletions
|
|
@ -33,9 +33,9 @@ else:
|
||||||
default_machine = _platform.machine()
|
default_machine = _platform.machine()
|
||||||
default_machine = _machine_map.get(default_machine, 'generic')
|
default_machine = _machine_map.get(default_machine, 'generic')
|
||||||
|
|
||||||
if default_platform in ('linux', 'freebsd', 'darwin'):
|
if default_platform in ('linux', 'freebsd'):
|
||||||
default_dri = 'yes'
|
default_dri = 'yes'
|
||||||
elif default_platform in ('winddk', 'windows', 'wince'):
|
elif default_platform in ('winddk', 'windows', 'wince', 'darwin'):
|
||||||
default_dri = 'no'
|
default_dri = 'no'
|
||||||
else:
|
else:
|
||||||
default_dri = 'no'
|
default_dri = 'no'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue