diff options
Diffstat (limited to 'cpp/newmakebindist.py')
-rwxr-xr-x | cpp/newmakebindist.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpp/newmakebindist.py b/cpp/newmakebindist.py index e2f04227042..c7305f48000 100755 --- a/cpp/newmakebindist.py +++ b/cpp/newmakebindist.py @@ -775,10 +775,12 @@ def main(): # # Configure environment. # - if getPlatform() <> "aix": - dylibEnvironmentVar = 'LD_LIBRARY_PATH' - else: + if getPlatform() == "aix": dylibEnvironmentVar = 'LIBPATH' + elif getPlatform() == "hpux": + dylibEnvironmentVar = 'SHLIB_PATH' + else: + dylibEnvironmentVar = 'LD_LIBRARY_PATH' for k, v in buildEnvironment.iteritems(): os.environ[k] = v |