summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-04-19 22:21:28 +0000
committerAndy Polyakov <appro@openssl.org>2005-04-19 22:21:28 +0000
commit4182f0ffc76a36ec7552f022ea3dc3dd26fbafc8 (patch)
treee0eb8e31b56a2a58ac7715fb60d4989d1d2072f2 /Makefile.org
parent0ef4ec4fd47b6b0490358d318ccae5a2c16eed2a (diff)
Enable shared link on HP-UX.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org12
1 files changed, 1 insertions, 11 deletions
diff --git a/Makefile.org b/Makefile.org
index 9638f8a732..fa365f8630 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -499,15 +499,6 @@ do_irix-shared:
fi
# This assumes that GNU utilities are *not* used
-# 32-bit PA-RISC HP-UX embeds the -L pathname of libs we link with. It's
-# possible to compensate for it with +cdp ../: and +cdp ./:, but we
-# don't have corresponding framework for linking apps. +cdp option
-# was introduced in HP-UX 11.x and applies in 32-bit PA-RISC link
-# editor context only [it's simply ignored in other cases, which are all
-# ELFs by the way].
-#
-# WARNING: Until DSO is fixed to support a search path, we support SHLIB_PATH
-# by temporarily specifying "+s"!
#
do_hpux-shared:
for i in ${SHLIBDIRS}; do \
@@ -523,8 +514,7 @@ do_hpux-shared:
ALLSYMSFLAGS='-Wl,-Fl'; \
expr $(PLATFORM) : 'hpux64' > /dev/null && ALLSYMSFLAGS='-Wl,+forceload'; \
( set -x; ${CC} ${SHARED_LDFLAGS} \
- -Wl,-B,symbolic,+vnocompatwarnings,-z,+s \
- -Wl,+cdp,../:,+cdp,./:,+h,$$shlib \
+ -Wl,-B,symbolic,+vnocompatwarnings,-z,+h,$$shlib \
-o $$shlib $$ALLSYMSFLAGS lib$$i.a -ldld ) || exit 1; \
chmod a=rx $$shlib; \
done