summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2019-07-30 19:24:16 -0700
committerVinson Lee <vinsonl@gmail.com>2019-07-31 18:23:55 +0000
commit412e1b51fee9bc8bbb6ade21687cd02a65a62bb3 (patch)
tree97744125d7ecbe7d1a9ea82b0a09962e1822dd6b /scons
parent3f9012839e2af6685cc2aeb8dc7c2757bba37326 (diff)
scons: Fix random_r check.
Fixes: 597bddad47e8 ("scons: Test for random_r()") Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Eric Engestrom <eric@engestrom.ch> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'scons')
-rwxr-xr-xscons/gallium.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scons/gallium.py b/scons/gallium.py
index f208c638a0d..5834f6e2194 100755
--- a/scons/gallium.py
+++ b/scons/gallium.py
@@ -369,7 +369,7 @@ def generate(env):
if check_functions(env, ['strtod_l', 'strtof_l']):
cppdefines += ['HAVE_STRTOD_L']
- if check_functions(env, 'random_r'):
+ if check_functions(env, ['random_r']):
cppdefines += ['HAVE_RANDOM_R']
if check_functions(env, ['timespec_get']):