diff options
Diffstat (limited to 'src/engine/SCons/Tool/lex.py')
-rw-r--r-- | src/engine/SCons/Tool/lex.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/lex.py b/src/engine/SCons/Tool/lex.py index 0dda128..2a936e5 100644 --- a/src/engine/SCons/Tool/lex.py +++ b/src/engine/SCons/Tool/lex.py @@ -47,5 +47,5 @@ def generate(env, platform): env['LEXFLAGS'] = '' env['LEXCOM'] = '$LEX $LEXFLAGS -t $SOURCES > $TARGET' -def exists(): - return SCons.Util.WhereIs('lex') +def exists(env): + return SCons.Util.Detect(['lex'], env) |