From 412e1b51fee9bc8bbb6ade21687cd02a65a62bb3 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 30 Jul 2019 19:24:16 -0700 Subject: [PATCH] scons: Fix random_r check. Fixes: 597bddad47e8 ("scons: Test for random_r()") Signed-off-by: Vinson Lee Reviewed-by: Eric Engestrom Reviewed-by: Matt Turner --- scons/gallium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']): -- 2.30.2