From d141a8c472789b55a7cc4e3585d4de63d44eedff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 14 Jun 2003 15:20:28 +0000 Subject: [PATCH] Use -R instead of -rpath on Solaris. Fixes #749911. --- configure | 4 ++-- configure.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 20ac6ffe669..7c9a47e7bd0 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 402172829d4..1bd0f6152fe 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*)