From 061f132898d3232420db1c00a5adde13647d7e21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 29 Aug 2004 16:40:55 +0000 Subject: Patch #973204: Use -rpath instead of -R on Irix and Tru64. --- Lib/distutils/unixccompiler.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Lib/distutils/unixccompiler.py') diff --git a/Lib/distutils/unixccompiler.py b/Lib/distutils/unixccompiler.py index 24cbcb53e5..56998c3507 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: -- cgit v1.2.1