diff options
author | Brent Eagles <brent@zeroc.com> | 2005-02-22 16:54:48 +0000 |
---|---|---|
committer | Brent Eagles <brent@zeroc.com> | 2005-02-22 16:54:48 +0000 |
commit | 0fb3ec36565a43d257b14ce038b6f8fa397ebd39 (patch) | |
tree | 64638de37c40b8dd82c24d75c11367c1b4183a0c /cpp/newmakebindist.py | |
parent | removing default third-party library locations. There are too many (diff) | |
download | ice-0fb3ec36565a43d257b14ce038b6f8fa397ebd39.tar.bz2 ice-0fb3ec36565a43d257b14ce038b6f8fa397ebd39.tar.xz ice-0fb3ec36565a43d257b14ce038b6f8fa397ebd39.zip |
libraries required for building most likely have to be added to the shared
library path in order to run the tools during building
Diffstat (limited to 'cpp/newmakebindist.py')
-rwxr-xr-x | cpp/newmakebindist.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cpp/newmakebindist.py b/cpp/newmakebindist.py index bd94832ad7f..e2f04227042 100755 --- a/cpp/newmakebindist.py +++ b/cpp/newmakebindist.py @@ -775,8 +775,15 @@ def main(): # # Configure environment. # + if getPlatform() <> "aix": + dylibEnvironmentVar = 'LD_LIBRARY_PATH' + else: + dylibEnvironmentVar = 'LIBPATH' + for k, v in buildEnvironment.iteritems(): - os.environ[k] = buildEnvironment[k] + os.environ[k] = v + if os.environ.has_key(dylibEnvironmentVar): + os.environ[dylibEnvironmentVar] = v + "/lib:" + os.environ[dylibEnvironmentVar] if buildDir == None: logging.info("No build directory specified, defaulting to $HOME/tmp/icebuild") |