summaryrefslogtreecommitdiffstats
path: root/scons/gallium.py
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2019-07-30 19:24:16 -0700
committerVinson Lee <[email protected]>2019-07-31 18:23:55 +0000
commit412e1b51fee9bc8bbb6ade21687cd02a65a62bb3 (patch)
tree97744125d7ecbe7d1a9ea82b0a09962e1822dd6b /scons/gallium.py
parent3f9012839e2af6685cc2aeb8dc7c2757bba37326 (diff)
scons: Fix random_r check.
Fixes: 597bddad47e8 ("scons: Test for random_r()") Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'scons/gallium.py')
-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']):