2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-17 01:32:12 +00:00

Fix syntax of variable setting on jam command line for windows.

[SVN r17571]
This commit is contained in:
Vladimir Prus
2003-02-21 08:23:07 +00:00
parent 1e3bf09f81
commit 1ffb2b163f
2 changed files with 14 additions and 2 deletions

View File

@@ -17,10 +17,12 @@ def get_toolset():
else:
return "gcc"
windows = 0
# Prepare the map of suffixes
suffixes = {'.exe': '', '.dll': '.so', '.lib': '.a', '.obj': '.o'}
if os.environ.get('OS','').lower().startswith('windows'):
windows = 1
suffixes = {}
if get_toolset() in ["gcc"]:
suffixes['.lib'] = '.a' # static libs have '.a' suffix with mingw...
@@ -85,7 +87,11 @@ class Tester(TestCmd.TestCmd):
if boost_build_path is None:
boost_build_path = os.path.join(self.original_workdir,
"..", "new")
boost_build_path += ":" + self.original_workdir
if windows:
boost_build_path += ";" + self.original_workdir
else:
boost_build_path += ":" + self.original_workdir
verbosity = ' -d0 --quiet '
if '--verbose' in sys.argv:

View File

@@ -17,10 +17,12 @@ def get_toolset():
else:
return "gcc"
windows = 0
# Prepare the map of suffixes
suffixes = {'.exe': '', '.dll': '.so', '.lib': '.a', '.obj': '.o'}
if os.environ.get('OS','').lower().startswith('windows'):
windows = 1
suffixes = {}
if get_toolset() in ["gcc"]:
suffixes['.lib'] = '.a' # static libs have '.a' suffix with mingw...
@@ -85,7 +87,11 @@ class Tester(TestCmd.TestCmd):
if boost_build_path is None:
boost_build_path = os.path.join(self.original_workdir,
"..", "new")
boost_build_path += ":" + self.original_workdir
if windows:
boost_build_path += ";" + self.original_workdir
else:
boost_build_path += ":" + self.original_workdir
verbosity = ' -d0 --quiet '
if '--verbose' in sys.argv: