diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-09 00:54:18 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-09 00:54:18 +0000 |
commit | 1c7d1a1916e178941d8a4a9224621869317f9a16 (patch) | |
tree | 370a1af1074701f2b4295e742190859d82f650a3 | |
parent | 791035f5432cecc8490207f501395ee51c34c038 (diff) | |
download | perl-1c7d1a1916e178941d8a4a9224621869317f9a16.tar.gz |
hpux needs {SHLIB_PATH,LDOPTS} rather than LD_{LIBRARY,RUN}_PATH
(as suggested by Eric Boehm <boehm@nortelnetworks.com>)
p4raw-id: //depot/perl@3341
-rwxr-xr-x | Configure | 4 | ||||
-rw-r--r-- | Makefile.SH | 5 |
2 files changed, 7 insertions, 2 deletions
@@ -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" ;; |