summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-06-14 15:20:28 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-06-14 15:20:28 (GMT)
commitd141a8c472789b55a7cc4e3585d4de63d44eedff (patch)
treedbc0c672c73b2d062da888584f9814a5792d77df
parent368de8f17f60316402ce7d498bd9e1fcc759ea33 (diff)
downloadcpython-d141a8c472789b55a7cc4e3585d4de63d44eedff.zip
cpython-d141a8c472789b55a7cc4e3585d4de63d44eedff.tar.gz
cpython-d141a8c472789b55a7cc4e3585d4de63d44eedff.tar.bz2
Use -R instead of -rpath on Solaris. Fixes #749911.
-rwxr-xr-xconfigure4
-rw-r--r--configure.in2
2 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 20ac6ff..7c9a47e 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.415 .
+# From configure.in Revision: 1.416 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
@@ -3269,7 +3269,7 @@ _ACEOF
;;
SunOS*)
LDLIBRARY='libpython$(VERSION).so'
- BLDLIBRARY='-Wl,-rpath,$(LIBDIR) -L. -lpython$(VERSION)'
+ BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
;;
Linux*|GNU*|NetBSD*)
diff --git a/configure.in b/configure.in
index 4021728..1bd0f61 100644
--- a/configure.in
+++ b/configure.in
@@ -501,7 +501,7 @@ if test $enable_shared = "yes"; then
;;
SunOS*)
LDLIBRARY='libpython$(VERSION).so'
- BLDLIBRARY='-Wl,-rpath,$(LIBDIR) -L. -lpython$(VERSION)'
+ BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(VERSION)'
RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
;;
Linux*|GNU*|NetBSD*)