From c9adcf2bf440933434652effc30bcfa1cca849d4 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Sun, 1 Dec 2002 04:29:27 +0000 Subject: [PATCH] Oops, account for spaces in LIB environment var. [SVN r16463] --- historic/jam/src/build.jam | 6 +++--- jam_src/build.jam | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/historic/jam/src/build.jam b/historic/jam/src/build.jam index 83e360086..cd6e08b0e 100644 --- a/historic/jam/src/build.jam +++ b/historic/jam/src/build.jam @@ -105,7 +105,7 @@ toolset mipspro cc : "-o " : -D toolset msvc cl : /Fe : -D : /nologo /ML /O2 /Ob2 /Gy /GF /GA /GB : /nologo /MLd /DEBUG /Z7 /Od /Ob0 - : /LIBPATH:"$(LIB)" kernel32.lib ; + : /LIBPATH:$(LIB:J=" ") kernel32.lib ; ## Sun Workshop 6 C++ toolset sunpro CC : "-o " : -D : -s -fast -O4 @@ -122,7 +122,7 @@ toolset vacpp xlc : "-o " : -D toolset vc7 cl : /Fe : -D : /nologo /ML /O2 /Ob2 /Gy /GF /GA /GB : /nologo /MLd /DEBUG /Z7 /Od /Ob0 - : /LIBPATH:"$(LIB)" kernel32.lib ; + : /LIBPATH:$(LIB:J=" ") kernel32.lib ; # First set the build commands and options according to the # preset toolset. @@ -261,7 +261,7 @@ rule .exe .clean $(exe) ; return $(exe) ; } -actions .cc { $(--cc) $(--bin)$(<:D=) $(--dir)$(<:D) $(--out)$(<) $(--def)$(--defs) $(--flags) $(--libs) $(>) } +actions .cc { $(--cc) $(--bin)$(<:D=) $(--dir)$(<:D) $(--out)$(<) $(--def)$(--defs) $(--flags) "$(--libs)" $(>) } rule .link { diff --git a/jam_src/build.jam b/jam_src/build.jam index 83e360086..cd6e08b0e 100644 --- a/jam_src/build.jam +++ b/jam_src/build.jam @@ -105,7 +105,7 @@ toolset mipspro cc : "-o " : -D toolset msvc cl : /Fe : -D : /nologo /ML /O2 /Ob2 /Gy /GF /GA /GB : /nologo /MLd /DEBUG /Z7 /Od /Ob0 - : /LIBPATH:"$(LIB)" kernel32.lib ; + : /LIBPATH:$(LIB:J=" ") kernel32.lib ; ## Sun Workshop 6 C++ toolset sunpro CC : "-o " : -D : -s -fast -O4 @@ -122,7 +122,7 @@ toolset vacpp xlc : "-o " : -D toolset vc7 cl : /Fe : -D : /nologo /ML /O2 /Ob2 /Gy /GF /GA /GB : /nologo /MLd /DEBUG /Z7 /Od /Ob0 - : /LIBPATH:"$(LIB)" kernel32.lib ; + : /LIBPATH:$(LIB:J=" ") kernel32.lib ; # First set the build commands and options according to the # preset toolset. @@ -261,7 +261,7 @@ rule .exe .clean $(exe) ; return $(exe) ; } -actions .cc { $(--cc) $(--bin)$(<:D=) $(--dir)$(<:D) $(--out)$(<) $(--def)$(--defs) $(--flags) $(--libs) $(>) } +actions .cc { $(--cc) $(--bin)$(<:D=) $(--dir)$(<:D) $(--out)$(<) $(--def)$(--defs) $(--flags) "$(--libs)" $(>) } rule .link {