summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-08-04 12:20:50 (GMT)
committerSteven Knight <knight@baldmt.com>2003-08-04 12:20:50 (GMT)
commit3af5f2686768cb67ab051bc2b585445814dd55ed (patch)
tree04a6781fc7ee013ed7de4250c7a0cb5685bfedf1
parentb265101162ddcd493ab521740564a19c8b37fee7 (diff)
downloadSCons-3af5f2686768cb67ab051bc2b585445814dd55ed.zip
SCons-3af5f2686768cb67ab051bc2b585445814dd55ed.tar.gz
SCons-3af5f2686768cb67ab051bc2b585445814dd55ed.tar.bz2
Initialize a LIB environment variable for the Intel compiler. (Gary Oberbrunner)
-rw-r--r--src/CHANGES.txt3
-rw-r--r--src/engine/SCons/Tool/icl.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt
index f10bb34..fd84cd5 100644
--- a/src/CHANGES.txt
+++ b/src/CHANGES.txt
@@ -102,6 +102,9 @@ RELEASE 0.XX - XXX
(also) print the command line that is being executed through the
temporary file.
+ - Initialize the LIB environment variable when using the Intel
+ compiler (icl).
+
From Laurent Pelecq:
- When the -debug=pdb option is specified, use pdb.Pdb().runcall() to
diff --git a/src/engine/SCons/Tool/icl.py b/src/engine/SCons/Tool/icl.py
index 1b653e3..666bcd1 100644
--- a/src/engine/SCons/Tool/icl.py
+++ b/src/engine/SCons/Tool/icl.py
@@ -69,6 +69,7 @@ def generate(env):
if icltop:
env.PrependENVPath('INCLUDE', os.path.join(icltop, 'Include'))
+ env.PrependENVPath('LIB', os.path.join(icltop, 'Lib'))
env.PrependENVPath('PATH', os.path.join(icltop, 'Bin'))
env['CC'] = 'icl'