Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1039)

Side by Side Diff: openssl/util/shlib_wrap.sh

Issue 9254031: Upgrade chrome's OpenSSL to same version Android ships with. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « openssl/util/selftest.pl ('k') | openssl/util/ssleay.num » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 [ $# -ne 0 ] || set -x # debug mode without arguments:-) 3 [ $# -ne 0 ] || set -x # debug mode without arguments:-)
4 4
5 THERE="`echo $0 | sed -e 's|[^/]*$||' 2>/dev/null`.." 5 THERE="`echo $0 | sed -e 's|[^/]*$||' 2>/dev/null`.."
6 [ -d "${THERE}" ] || exec "$@" # should never happen... 6 [ -d "${THERE}" ] || exec "$@" # should never happen...
7 7
8 # Alternative to this is to parse ${THERE}/Makefile... 8 # Alternative to this is to parse ${THERE}/Makefile...
9 LIBCRYPTOSO="${THERE}/libcrypto.so" 9 LIBCRYPTOSO="${THERE}/libcrypto.so"
10 if [ -f "$LIBCRYPTOSO" ]; then 10 if [ -f "$LIBCRYPTOSO" ]; then
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 # platforms. 81 # platforms.
82 case "$SYSNAME" in 82 case "$SYSNAME" in
83 *BSD|QNX) LD_PRELOAD="$LIBCRYPTOSO:$LIBSSLSO" ;; # *BSD, QNX 83 *BSD|QNX) LD_PRELOAD="$LIBCRYPTOSO:$LIBSSLSO" ;; # *BSD, QNX
84 *) LD_PRELOAD="$LIBCRYPTOSO $LIBSSLSO" ;; # SunOS, Linux, ELF HP-U X 84 *) LD_PRELOAD="$LIBCRYPTOSO $LIBSSLSO" ;; # SunOS, Linux, ELF HP-U X
85 esac 85 esac
86 _RLD_LIST="$LIBCRYPTOSO:$LIBSSLSO:DEFAULT" # Tru64, o32 IRIX 86 _RLD_LIST="$LIBCRYPTOSO:$LIBSSLSO:DEFAULT" # Tru64, o32 IRIX
87 DYLD_INSERT_LIBRARIES="$LIBCRYPTOSO:$LIBSSLSO" # MacOS X 87 DYLD_INSERT_LIBRARIES="$LIBCRYPTOSO:$LIBSSLSO" # MacOS X
88 export LD_PRELOAD _RLD_LIST DYLD_INSERT_LIBRARIES 88 export LD_PRELOAD _RLD_LIST DYLD_INSERT_LIBRARIES
89 fi 89 fi
90 90
91 exec "$@" 91 cmd="$1${EXE_EXT}"
92 shift
93 exec "$cmd" "$@"
OLDNEW
« no previous file with comments | « openssl/util/selftest.pl ('k') | openssl/util/ssleay.num » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698