summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xConfigure4
-rw-r--r--Makefile.SH5
2 files changed, 7 insertions, 2 deletions
diff --git a/Configure b/Configure
index a56b94feb5..3aa2aaa173 100755
--- a/Configure
+++ b/Configure
@@ -5448,6 +5448,10 @@ if "$useshrplib"; then
beos)
# beos doesn't like the default, either.
;;
+ hpux*)
+ # hpux doesn't like the default, either.
+ tmp_shrpenv="env LDOPTS=\"+s +b${shrpdir}\""
+ ;;
*)
tmp_shrpenv="env LD_RUN_PATH=$shrpdir"
;;
diff --git a/Makefile.SH b/Makefile.SH
index 1ba5e80101..ae96f3013d 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -68,8 +68,9 @@ true)
aixinstdir=`pwd | sed 's/\/UU$//'`
linklibperl="-L $archlibexp/CORE -L $aixinstdir -lperl"
;;
- hpux10*|hpux11*)
- linklibperl="-L `pwd | sed 's/\/UU$//'` -Wl,+b$archlibexp/CORE -lperl"
+ hpux*)
+ linklibperl="-L `pwd | sed 's/\/UU$//'` -Wl,+s -Wl,+b$archlibexp/CORE -lperl"
+ ldlibpth="SHLIB_PATH=`pwd`:${SHLIB_PATH}"
;;
beos*) ldlibpth="LIBRARY_PATH=`pwd`:$LIBRARY_PATH"
;;