summaryrefslogtreecommitdiffstats
path: root/Modules/makesetup
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-08-11 13:58:37 (GMT)
committerFred Drake <fdrake@acm.org>2000-08-11 13:58:37 (GMT)
commit091ec2cfdd5b57cbf74cdf6ca1806d093f1aefeb (patch)
tree1b9ac8d53a52a2ac9c29af9f3e2311e9d8f4ba0f /Modules/makesetup
parent2c57e076fe7653e38fb0a52679bb3ac219793143 (diff)
downloadcpython-091ec2cfdd5b57cbf74cdf6ca1806d093f1aefeb.zip
cpython-091ec2cfdd5b57cbf74cdf6ca1806d093f1aefeb.tar.gz
cpython-091ec2cfdd5b57cbf74cdf6ca1806d093f1aefeb.tar.bz2
Add support for FreeBSD --rpath linker option; this is equivalent to
-R on Solaris and -rpath on IRIX. This closes SourceForge bug #110613 (Jitterbug PR#202), reported by <aa8vb@yahoo.com>.
Diffstat (limited to 'Modules/makesetup')
-rwxr-xr-xModules/makesetup1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/makesetup b/Modules/makesetup
index c0c2712..0a2794e 100755
--- a/Modules/makesetup
+++ b/Modules/makesetup
@@ -143,6 +143,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
-[IDUCf]*) cpps="$cpps $arg";;
-Xlinker) libs="$libs $arg"; skip=libs;;
-rpath) libs="$libs $arg"; skip=libs;;
+ --rpath) libs="$libs $arg"; skip=libs;;
-[A-Zl]*) libs="$libs $arg";;
*.a) libs="$libs $arg";;
*.so) libs="$libs $arg";;