scons: Work around for old versions of scons mistaking strings for sequences.

This commit is contained in:
Gabe Black
2010-11-09 11:03:40 -08:00
parent 2fd9dc19cd
commit 14b27fc302
2 changed files with 17 additions and 17 deletions

View File

@@ -106,7 +106,7 @@ if not SCons.Tool.m4.exists(m4env):
"Please install M4 and try again."
Exit(1)
m4env.Append(M4FLAGS='-DSRCDIR=%s' % Dir('.').path)
m4env.Append(M4FLAGS=['-DSRCDIR=%s' % Dir('.').path])
m4env['M4COM'] = '$M4 $M4FLAGS $SOURCES > $TARGET'
m4env.M4(target=File('libelf_convert.c'),
source=[File('elf_types.m4'), File('libelf_convert.m4')])