From 5449daceab86fd5efe74ce0122f827eccbc4b4a7 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Thu, 20 Sep 2007 04:36:27 +0000 Subject: [PATCH] Now that the exec*.c files are really platform specific, adjust the build script to only build the needed ones for MinGW. [SVN r39400] --- src/engine/build.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/engine/build.sh b/src/engine/build.sh index 48e88320b..f79ef42a2 100755 --- a/src/engine/build.sh +++ b/src/engine/build.sh @@ -236,14 +236,22 @@ echo "###" YYACC_SOURCES="yyacc.c" MKJAMBASE_SOURCES="mkjambase.c" BJAM_SOURCES="\ - command.c compile.c debug.c execunix.c expand.c fileunix.c glob.c hash.c\ + command.c compile.c debug.c expand.c glob.c hash.c\ hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c\ newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c\ rules.c scan.c search.c subst.c timestamp.c variable.c modules.c\ strings.c filesys.c builtins.c pwd.c class.c native.c w32_getreg.c\ modules/set.c modules/path.c modules/regex.c modules/property-set.c\ - modules/sequence.c modules/order.c\ - execnt.c filent.c" + modules/sequence.c modules/order.c" +case $BOOST_JAM_TOOLSET in + mingw) + BJAM_SOURCES="${BJAM_SOURCES} execnt.c filent.c" + ;; + + *) + BJAM_SOURCES="${BJAM_SOURCES} execunix.c fileunix.c" + ;; +esac BJAM_UPDATE= if test "$1" = "--update" -o "$2" = "--update" -o "$3" = "--update" -o "$4" = "--update" ; then