scons: Fix random_r check.
Fixes: 597bddad47
("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>
This commit is contained in:
parent
3f9012839e
commit
412e1b51fe
|
@ -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']):
|
||||
|
|
Loading…
Reference in New Issue