diff options
Diffstat (limited to 'testsuite/reloc10.sh')
-rwxr-xr-x | testsuite/reloc10.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/reloc10.sh b/testsuite/reloc10.sh index 94a4e69..66dd438 100755 --- a/testsuite/reloc10.sh +++ b/testsuite/reloc10.sh @@ -14,7 +14,9 @@ savelibs echo $PRELINK ${PRELINK_OPTS--vm} ./reloc10 > reloc10.log $PRELINK ${PRELINK_OPTS--vm} ./reloc10 >> reloc10.log 2>&1 || exit 1 grep -q ^`echo $PRELINK | sed 's/ .*$/: /'` reloc10.log && exit 2 -LD_LIBRARY_PATH=. ./reloc10 || exit 3 +if [ "x$CROSS" = "x" ]; then + LD_LIBRARY_PATH=. ./reloc10 || exit 3 +fi readelf -a ./reloc10 >> reloc10.log 2>&1 || exit 4 # So that it is not prelinked again chmod -x ./reloc10 |