Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d141a8c

Browse files
committed
Use -R instead of -rpath on Solaris. Fixes #749911.
1 parent 368de8f commit d141a8c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#! /bin/sh
2-
# From configure.in Revision: 1.415 .
2+
# From configure.in Revision: 1.416 .
33
# Guess values for system-dependent variables and create Makefiles.
44
# Generated by GNU Autoconf 2.53 for python 2.3.
55
#
@@ -3269,7 +3269,7 @@ _ACEOF
32693269
;;
32703270
SunOS*)
32713271
LDLIBRARY='libpython$(VERSION).so'
3272-
BLDLIBRARY='-Wl,-rpath,$(LIBDIR) -L. -lpython$(VERSION)'
3272+
BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(VERSION)'
32733273
RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
32743274
;;
32753275
Linux*|GNU*|NetBSD*)

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ if test $enable_shared = "yes"; then
501501
;;
502502
SunOS*)
503503
LDLIBRARY='libpython$(VERSION).so'
504-
BLDLIBRARY='-Wl,-rpath,$(LIBDIR) -L. -lpython$(VERSION)'
504+
BLDLIBRARY='-Wl,-R,$(LIBDIR) -L. -lpython$(VERSION)'
505505
RUNSHARED=LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH
506506
;;
507507
Linux*|GNU*|NetBSD*)

0 commit comments

Comments
 (0)