mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 17:10:11 +01:00
scons: Define _DARWIN_C_SOURCE on Darwin builds.
This commit is contained in:
parent
7f2f42dd80
commit
d57ba16ae3
1 changed files with 2 additions and 0 deletions
|
|
@ -110,6 +110,8 @@ if platform in ('posix', 'linux', 'freebsd', 'darwin'):
|
|||
'PTHREADS',
|
||||
'HAVE_POSIX_MEMALIGN',
|
||||
])
|
||||
if platform == 'darwin':
|
||||
env.Append(CPPDEFINES = ['_DARWIN_C_SOURCE'])
|
||||
env.Append(CPPPATH = ['/usr/X11R6/include'])
|
||||
env.Append(LIBPATH = ['/usr/X11R6/lib'])
|
||||
env.Append(LIBS = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue