summaryrefslogtreecommitdiffstats
path: root/util/shlib_wrap.sh.in
diff options
context:
space:
mode:
authorRandall S. Becker <rsbecker@nexbridge.com>2021-03-23 14:42:36 -0600
committerTomas Mraz <tomas@openssl.org>2021-03-30 19:08:32 +0200
commit05ba94e70554c88cde8a8782db15cc87491f6ab6 (patch)
tree94100763dd112c0af71f4197c630954dfb84623f /util/shlib_wrap.sh.in
parent788a72e92fc0b78c2ca12df90e45cccbaf7a800e (diff)
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 <rsbecker@nexbridge.com> Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14669)
Diffstat (limited to 'util/shlib_wrap.sh.in')
-rwxr-xr-xutil/shlib_wrap.sh.in9
1 files changed, 9 insertions, 0 deletions
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