From 6a9dd62882b9e2b57394a192cc66e886128df026 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 23 Nov 2018 17:04:25 +0000 Subject: drisw: move build logic to build systems Signed-off-by: Eric Engestrom Reviewed-by: Eric Anholt --- scons/gallium.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scons/gallium.py') diff --git a/scons/gallium.py b/scons/gallium.py index 61bbeb2399f..c2713992b36 100755 --- a/scons/gallium.py +++ b/scons/gallium.py @@ -371,6 +371,9 @@ def generate(env): if check_functions(env, ['timespec_get']): cppdefines += ['HAVE_TIMESPEC_GET'] + if check_header(env, 'sys/shm.h'): + cppdefines += ['HAVE_SYS_SHM_H'] + if platform == 'windows': cppdefines += [ 'WIN32', -- cgit v1.2.3