diff options
author | Andy Polyakov <appro@openssl.org> | 2004-05-28 22:38:05 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2004-05-28 22:38:05 +0000 |
commit | 15fd2de37c2e5f7877af1d90a6bcc1c004f47a79 (patch) | |
tree | d3e8d69b845b992ab175e224d40f016174dfcdfa /Makefile.shared | |
parent | 1a83c372945346ef6ec9c1ff034f08e19bab6d57 (diff) | |
download | openssl-new-15fd2de37c2e5f7877af1d90a6bcc1c004f47a79.tar.gz |
hpux-shared rules to cover even for GNU ld.
Diffstat (limited to 'Makefile.shared')
-rw-r--r-- | Makefile.shared | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.shared b/Makefile.shared index bf57aaaaaa..57e4ad334d 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -594,7 +594,8 @@ link_app.irix: # by temporarily specifying "+s"! # link_o.hpux: - @ $(CALC_VERSIONS); \ + @if ${DETECT_GNU_LD}; then $(DO_GNU_SO); else \ + $(CALC_VERSIONS); \ SHLIB=lib$(LIBNAME).sl; \ SHLIB_SUFFIX=; \ LIBDEPS="$(LIBDEPS)"; \ @@ -603,9 +604,11 @@ link_o.hpux: expr $(PLATFORM) : 'hpux64' > /dev/null && ALLSYMSFLAGS='-Wl,+forceload'; \ SHAREDFLAGS="-Wl,+vnocompatwarnings,-z,+s,+h,$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX,+b,$(LIBRPATH)"; \ SHAREDCMD=$(CC); \ + fi; \ $(LINK_SO_O) && chmod a=rx $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX link_a.hpux: - @ $(CALC_VERSIONS); \ + @if ${DETECT_GNU_LD}; then $(DO_GNU_SO); else \ + $(CALC_VERSIONS); \ SHLIB=lib$(LIBNAME).sl; \ SHLIB_SUFFIX=; \ LIBDEPS="$(LIBDEPS)"; \ @@ -614,12 +617,15 @@ link_a.hpux: expr $(PLATFORM) : 'hpux64' > /dev/null && ALLSYMSFLAGS='-Wl,+forceload'; \ SHAREDFLAGS="-Wl,+vnocompatwarnings,-z,+s,+h,$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX,+b,$(LIBRPATH)"; \ SHAREDCMD='$(CC)'; \ + fi; \ $(LINK_SO_A) && chmod a=rx $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX link_app.hpux: + @if ${DETECT_GNU_LD}; then $(DO_GNU_APP); else \ LDCMD=$(CC);\ LDFLAGS="-Wl,+b,$(LIBRPATH)"; \ LIBDEPS="$(LIBDEPS)"; \ APPNAME="$(APPNAME)"; \ + fi; \ $(LINK_APP) link_o.aix: |