From 8dfd7f98045b734920db0c34b14e9f25307f22c0 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Mon, 28 May 2007 18:39:35 -0400 Subject: [PATCH] Fix M4 command line... wasn't working on zizzer. A little more concise now. --HG-- extra : convert_revision : 5cb46832ac7ce7a0be72765e83c8ceb5d8d4b64a --- ext/libelf/SConscript | 4 ++-- 1 file 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'), -- 2.30.2