mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-21 04:31:04 +08:00
12 lines
273 B
Sed
12 lines
273 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\
|
||
|
exit 0;\
|
||
|
fi\
|
||
|
# In case of an error punt.
|
||
|
/LD_TRACE_LOADED_OBJECTS=1/a\
|
||
|
add_env="$add_env LD_LIBRARY_VERSION=\\$verify_out"
|