glibc/sysdeps/unix/sysv/linux/ldd-rewrite.sed
Ulrich Drepper c6128ad443 Update.
1998-07-07  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/ldd-rewrite.sed: Do not exit the shell
	script if lddlibc4 failed.
	Reported by B. D. Elliott <bde@accessone.com>.

	scratch, which is faster and gets correct behaviour if $(subdirs)
	is incomplete.
1998-07-07 12:46:24 +00:00

12 lines
275 B
Sed

/Maybe extra code for non-ELF binaries/a\
file=$1\
# Run the ldd stub.\
lddlibc4 $file\
# Test the result.\
if test $? -lt 3; then\
return 0;\
fi\
# In case of an error punt.
/LD_TRACE_LOADED_OBJECTS=1/a\
add_env="$add_env LD_LIBRARY_VERSION=\\$verify_out"