summaryrefslogtreecommitdiff
path: root/scons
diff options
context:
space:
mode:
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']):