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:
Vinson Lee 2019-07-30 19:24:16 -07:00 committed by Vinson Lee
parent 3f9012839e
commit 412e1b51fe
1 changed files with 1 additions and 1 deletions

View File

@ -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']):