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