|
|
34484a |
From 9644657c4 10326749fd321d9c24944ec25afad2f Mon Sep 17 00:00:00 2001
|
|
|
34484a |
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
|
|
34484a |
Date: Thu, 20 Jun 2013 15:22:53 +0200
|
|
|
34484a |
Subject: [PATCH] Install libperl.so to shrpdir on Linux
|
|
|
34484a |
MIME-Version: 1.0
|
|
|
34484a |
Content-Type: text/plain; charset=UTF-8
|
|
|
34484a |
Content-Transfer-Encoding: 8bit
|
|
|
34484a |
|
|
|
34484a |
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
|
|
34484a |
---
|
|
|
34484a |
Configure | 7 ++++---
|
|
|
34484a |
Makefile.SH | 2 +-
|
|
|
34484a |
2 files changed, 5 insertions(+), 4 deletions(-)
|
|
|
34484a |
|
|
|
34484a |
diff --git a/Configure b/Configure
|
|
|
34484a |
index 2f30261..825496e 100755
|
|
|
34484a |
--- a/Configure
|
|
|
34484a |
+++ b/Configure
|
|
|
34484a |
@@ -8249,7 +8249,9 @@ esac
|
|
|
34484a |
|
|
|
34484a |
# Detect old use of shrpdir via undocumented Configure -Dshrpdir
|
|
|
34484a |
case "$shrpdir" in
|
|
|
34484a |
-'') ;;
|
|
|
34484a |
+'')
|
|
|
34484a |
+shrpdir=$archlibexp/CORE
|
|
|
34484a |
+;;
|
|
|
34484a |
*) $cat >&4 <
|
|
|
34484a |
WARNING: Use of the shrpdir variable for the installation location of
|
|
|
34484a |
the shared $libperl is not supported. It was never documented and
|
|
|
34484a |
@@ -8279,7 +8281,6 @@ esac
|
|
|
34484a |
# Add $xxx to ccdlflags.
|
|
|
34484a |
# If we can't figure out a command-line option, use $shrpenv to
|
|
|
34484a |
# set env LD_RUN_PATH. The main perl makefile uses this.
|
|
|
34484a |
-shrpdir=$archlibexp/CORE
|
|
|
34484a |
xxx=''
|
|
|
34484a |
tmp_shrpenv=''
|
|
|
34484a |
if "$useshrplib"; then
|
|
|
34484a |
@@ -8294,7 +8295,7 @@ if "$useshrplib"; then
|
|
|
34484a |
xxx="-Wl,-R$shrpdir"
|
|
|
34484a |
;;
|
|
|
34484a |
bsdos|linux|irix*|dec_osf|gnu*|haiku)
|
|
|
34484a |
- xxx="-Wl,-rpath,$shrpdir"
|
|
|
34484a |
+ # We want standard path
|
|
|
34484a |
;;
|
|
|
34484a |
hpux*)
|
|
|
34484a |
# hpux doesn't like the default, either.
|
|
|
34484a |
diff --git a/Makefile.SH b/Makefile.SH
|
|
|
34484a |
index 7733a32..a481183 100755
|
|
|
34484a |
--- a/Makefile.SH
|
|
|
34484a |
+++ b/Makefile.SH
|
|
|
34484a |
@@ -266,7 +266,7 @@ ranlib = $ranlib
|
|
|
34484a |
# installman commandline.
|
|
|
34484a |
bin = $installbin
|
|
|
34484a |
scriptdir = $scriptdir
|
|
|
34484a |
-shrpdir = $archlibexp/CORE
|
|
|
34484a |
+shrpdir = $shrpdir
|
|
|
34484a |
privlib = $installprivlib
|
|
|
34484a |
man1dir = $man1dir
|
|
|
34484a |
man1ext = $man1ext
|
|
|
34484a |
--
|
|
|
34484a |
1.8.1.4
|