From 05ba94e70554c88cde8a8782db15cc87491f6ab6 Mon Sep 17 00:00:00 2001 From: "Randall S. Becker" Date: Tue, 23 Mar 2021 14:42:36 -0600 Subject: [PATCH] Add explicit support in util/shlib_wrap.sh.in for NonStop DLL loading. The NonStop platform uses a proprietary mechanism for specifying DLL locations. CLA: Permission is granted by the author to the OpenSSL team to use these modifications. Fixes #14666 Signed-off-by: Randall S. Becker Reviewed-by: Richard Levitte Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/14669) --- util/shlib_wrap.sh.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/util/shlib_wrap.sh.in b/util/shlib_wrap.sh.in index 7024cafbd3..675d99a836 100755 --- a/util/shlib_wrap.sh.in +++ b/util/shlib_wrap.sh.in @@ -84,6 +84,15 @@ SunOS|IRIX*) eval $rld_var=\"${THERE}'${'$rld_var':+:$'$rld_var'}'\"; export $rld_var unset rld_var ;; +NONSTOP_KERNEL) + # HPE NonStop has a proprietary mechanism for specifying + # the location of DLLs. It does not use PATH or variables + # commonly used on other platforms. The platform has a limited + # environment space keeping extraneous variables to a minimum + # is recommended. + _RLD_LIB_PATH="${THERE}:$LD_LIBRARY_PATH" + export _RLD_LIB_PATH + ;; *) LD_LIBRARY_PATH="${THERE}:$LD_LIBRARY_PATH" # Linux, ELF HP-UX DYLD_LIBRARY_PATH="${THERE}:$DYLD_LIBRARY_PATH" # MacOS X SHLIB_PATH="${THERE}:$SHLIB_PATH" # legacy HP-UX