summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/unixccompiler.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-08-29 16:40:55 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-08-29 16:40:55 (GMT)
commit061f132898d3232420db1c00a5adde13647d7e21 (patch)
treeb8208d3ed4fc2f1ce39c3ae0000b45454062c7ee /Lib/distutils/unixccompiler.py
parente064b41f5ac046fc361fa80af551f5bfab01141c (diff)
downloadcpython-061f132898d3232420db1c00a5adde13647d7e21.zip
cpython-061f132898d3232420db1c00a5adde13647d7e21.tar.gz
cpython-061f132898d3232420db1c00a5adde13647d7e21.tar.bz2
Patch #973204: Use -rpath instead of -R on Irix and Tru64.
Diffstat (limited to 'Lib/distutils/unixccompiler.py')
-rw-r--r--Lib/distutils/unixccompiler.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py
index 24cbcb5..56998c3 100644
--- a/Lib/distutils/unixccompiler.py
+++ b/Lib/distutils/unixccompiler.py
@@ -205,6 +205,8 @@ class UnixCCompiler(CCompiler):
return "-L" + dir
elif sys.platform[:5] == "hp-ux":
return "+s -L" + dir
+ elif sys.platform[:7] == "irix646" or sys.platform[:6] == "osf1V5":
+ return ["-rpath", dir]
elif compiler[:3] == "gcc" or compiler[:3] == "g++":
return "-Wl,-R" + dir
else: