From: Richard Levitte Date: Fri, 28 Oct 2016 21:35:37 +0000 (+0200) Subject: HPUX: Add the forgotten $(DSTDIR) when linking DSOs X-Git-Tag: OpenSSL_1_1_1-pre1~3303 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f46661de7806b5bae507d17185bda2bafd6c20d8;p=oweals%2Fopenssl.git HPUX: Add the forgotten $(DSTDIR) when linking DSOs Reviewed-by: Andy Polyakov (Merged from https://github.com/openssl/openssl/pull/1802) --- diff --git a/Makefile.shared b/Makefile.shared index e82ed1d956..098e1ec6f2 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -497,8 +497,8 @@ link_dso.hpux: expr $(PLATFORM) : 'hpux64' > /dev/null && ALLSYMSFLAGS='-Wl,+forceload'; \ SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -Wl,-B,symbolic,+vnocompatwarnings,-z,+s,+h,$$SHLIB$$SHLIB_SUFFIX,+cdp,../:,+cdp,./:"; \ fi; \ - rm -f $$SHLIB$$SHLIB_SUFFIX || :; \ - $(LINK_SO_DSO) && chmod a=rx $$SHLIB$$SHLIB_SUFFIX + rm -f $(DSTDIR)/$$SHLIB$$SHLIB_SUFFIX || :; \ + $(LINK_SO_DSO) && chmod a=rx $(DSTDIR)/$$SHLIB$$SHLIB_SUFFIX link_shlib.hpux: @if $(DETECT_GNU_LD); then $(DO_GNU_SO); else \ $(CALC_VERSIONS); \ @@ -510,8 +510,8 @@ link_shlib.hpux: expr $(PLATFORM) : 'hpux64' > /dev/null && ALLSYMSFLAGS='-Wl,+forceload'; \ SHAREDFLAGS="$(CFLAGS) $(SHARED_LDFLAGS) -Wl,-B,symbolic,+vnocompatwarnings,-z,+s,+h,$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX,+cdp,../:,+cdp,./:"; \ fi; \ - rm -f $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX || :; \ - $(LINK_SO_SHLIB) && chmod a=rx $$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX + rm -f $(DSTDIR)/$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX || :; \ + $(LINK_SO_SHLIB) && chmod a=rx $(DSTDIR)/$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX link_app.hpux: @if $(DETECT_GNU_LD); then $(DO_GNU_APP); else \ LDFLAGS="$(CFLAGS) $(LDFLAGS) -Wl,+s,+cdp,../:,+cdp,./:"; \