Skip to content

Commit

Permalink
Add explicit support in util/shlib_wrap.sh.in for NonStop DLL loading.
Browse files Browse the repository at this point in the history
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 openssl#14666

Signed-off-by: Randall S. Becker <[email protected]>

Reviewed-by: Richard Levitte <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from openssl#14669)
  • Loading branch information
rsbeckerca authored and t8m committed Mar 30, 2021
1 parent 788a72e commit 05ba94e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions util/shlib_wrap.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 05ba94e

Please sign in to comment.