X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=util%2Fshlib_wrap.sh.in;h=27a1e513c80c6e40298a40f9639001dfde735d35;hb=6ae6ff57f2667614c0bd6310f9a2856b3f5defd2;hp=eff11417a5889fc6e8fec59f091164b414aac782;hpb=c3cfc9962b883a1da7082735f77a9c4b4e4ffdd8;p=oweals%2Fopenssl.git diff --git a/util/shlib_wrap.sh.in b/util/shlib_wrap.sh.in index eff11417a5..27a1e513c8 100755 --- a/util/shlib_wrap.sh.in +++ b/util/shlib_wrap.sh.in @@ -81,7 +81,7 @@ SunOS|IRIX*) ;; esac -{- output_off() if $config{ex_libs} !~ /(^|\s)-Wl,-rpath,/; ""; -} +{- output_off() if $config{ex_libs} !~ /,-rpath,/; ""; -} if [ -f "$LIBCRYPTOSO" -a -z "$preload_var" ]; then # Following three lines are major excuse for isolating them into # this wrapper script. Original reason for setting LD_PRELOAD @@ -97,7 +97,7 @@ if [ -f "$LIBCRYPTOSO" -a -z "$preload_var" ]; then DYLD_INSERT_LIBRARIES="$LIBCRYPTOSO:$LIBSSLSO" # MacOS X export LD_PRELOAD _RLD_LIST DYLD_INSERT_LIBRARIES fi -{- output_on() if $config{ex_libs} !~ /(^|\s)-Wl,-rpath,/; ""; -} +{- output_on() if $config{ex_libs} !~ /,-rpath,/; ""; -} cmd="$1"; [ -x "$cmd" ] || cmd="$cmd${EXE_EXT}" shift