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)
This commit is contained in:
Randall S. Becker 2021-03-23 14:42:36 -06:00 committed by Tomas Mraz
parent 788a72e92f
commit 05ba94e705
1 changed files with 9 additions and 0 deletions

View File

@ -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