diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-06 22:36:57 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-09 12:20:53 +0100 |
commit | d3b3715072f1d589ee88a68cc5c07e93a31c0f09 (patch) | |
tree | ba930eaf2aa6320ea21c5383d68624fa0932e77c | |
parent | fcedd2d69d950af8fcde05206ee35e8a2b1cfb0b (diff) | |
download | openssl-new-d3b3715072f1d589ee88a68cc5c07e93a31c0f09.tar.gz |
Recognise 32-bit Solaris in util/shlib_wrap.sh
Submitted by Erik Forsberg <erik@efca.com>
Reviewed-by: Andy Polyakov <appro@openssl.org>
(cherry picked from commit 86e75432835ec3ef7700a7103f9847e3c3d4350d)
-rwxr-xr-x | util/shlib_wrap.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/shlib_wrap.sh b/util/shlib_wrap.sh index 8775cb5411..fb2915d21d 100755 --- a/util/shlib_wrap.sh +++ b/util/shlib_wrap.sh @@ -27,6 +27,11 @@ SunOS|IRIX*) LD_PRELOAD_64="$LIBCRYPTOSO $LIBSSLSO"; export LD_PRELOAD_64 preload_var=LD_PRELOAD_64 ;; + *ELF\ 32*SPARC*|*ELF\ 32*80386*) + [ -n "$LD_LIBRARY_PATH_32" ] && rld_var=LD_LIBRARY_PATH_32 + LD_PRELOAD_32="$LIBCRYPTOSO $LIBSSLSO"; export LD_PRELOAD_32 + preload_var=LD_PRELOAD_32 + ;; # Why are newly built .so's preloaded anyway? Because run-time # .so lookup path embedded into application takes precedence # over LD_LIBRARY_PATH and as result application ends up linking |