mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 16:40:30 +01:00
scons: Define IN_DRI_DRIVER.
The define is required for DRI drivers. It is not needed for libgl-xlib, but the overhead it introduces should be minor.
This commit is contained in:
parent
7e1bf94631
commit
bb045d339b
1 changed files with 4 additions and 0 deletions
|
|
@ -19,6 +19,10 @@ if env['platform'] == 'windows':
|
|||
'WIN32_THREADS', # use Win32 thread API
|
||||
])
|
||||
env.Prepend(CPPPATH = ['#src/talloc'])
|
||||
else:
|
||||
env.Append(CPPDEFINES = [
|
||||
'IN_DRI_DRIVER', # enable the remap table (for DRI drivers)
|
||||
])
|
||||
|
||||
#
|
||||
# Source files
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue