diff options
Diffstat (limited to 'src/engine/SCons/Tool/yacc.py')
-rw-r--r-- | src/engine/SCons/Tool/yacc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/yacc.py b/src/engine/SCons/Tool/yacc.py index bce4a39..4e63c19 100644 --- a/src/engine/SCons/Tool/yacc.py +++ b/src/engine/SCons/Tool/yacc.py @@ -46,5 +46,5 @@ def generate(env, platform): env['YACCFLAGS'] = '' env['YACCCOM'] = '$YACC $YACCFLAGS -o $TARGET $SOURCES' -def exists(): - return SCons.Util.WhereIs('yacc') +def exists(env): + return SCons.Util.Detect(['yacc'], env) |