summaryrefslogtreecommitdiffstats
path: root/Makefile.shared
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2004-06-01 00:29:26 +0200
committerAndy Polyakov <appro@openssl.org>2004-06-01 00:29:26 +0200
commit393b704d282909dff28bdca80e2d8a1d404086f4 (patch)
treecc770410663ed180a152f673ba2b76c7b8fdb004 /Makefile.shared
parent32-bit PA-RISC requires -Bsymbolic when linking libcrypto.sl. Without (diff)
downloadopenssl-393b704d282909dff28bdca80e2d8a1d404086f4.tar.xz
openssl-393b704d282909dff28bdca80e2d8a1d404086f4.zip
Minimal work-around for ./engine shared builds. "Minimal" means that I
think that proper Makefile clean-up is required.
Diffstat (limited to 'Makefile.shared')
-rw-r--r--Makefile.shared16
1 files changed, 7 insertions, 9 deletions
diff --git a/Makefile.shared b/Makefile.shared
index 607a852d6d..81a72a4738 100644
--- a/Makefile.shared
+++ b/Makefile.shared
@@ -583,15 +583,13 @@ link_app.irix:
fi; \
$(LINK_APP)
-# HP-UX includes the full pathname of libs we depend on, so we would get
-# ./libcrypto (with ./ as path information) compiled into libssl, hence
-# we omit the SHLIBDEPS. Applications must be linked with -lssl -lcrypto
-# anyway.
-# The object modules are loaded from lib$i.a using the undocumented -Fl
-# option.
-#
-# WARNING: Until DSO is fixed to support a search path, we support SHLIB_PATH
-# by temporarily specifying "+s"!
+# 32-bit PA-RISC HP-UX embeds the -L pathname of libs we link with, so
+# we compensate for it with +cdp ../: and +cdp ./:. Yes, these rewrite
+# rules imply that we can only link one level down in catalog structure,
+# but that's what takes place for the moment of this writing. +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].
#
link_o.hpux:
@if ${DETECT_GNU_LD}; then $(DO_GNU_SO); else \