diff options
Diffstat (limited to 'ext/libelf/SConscript')
-rw-r--r-- | ext/libelf/SConscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/libelf/SConscript b/ext/libelf/SConscript index e909279d2..2fae8c25f 100644 --- a/ext/libelf/SConscript +++ b/ext/libelf/SConscript @@ -88,8 +88,8 @@ ElfFile('libelf_fsize.c') ElfFile('libelf_msize.c') m4env = Environment(ENV=os.environ) -m4env.Append(M4FLAGS='-DSRCDIR=%s' % Dir('.')) -m4env['M4COM'] = 'cd ${SOURCE.rsrcdir} && $M4 $M4FLAGS $SOURCES > ${TARGET.abspath}' +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')]) m4env.M4(target=File('libelf_fsize.c'), |