Skip to content

Commit 44fea0d

Browse files
committed
tests/endianess.sh: fix out-of-tree build
1 parent d311cf7 commit 44fea0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/endianness.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ for arch in ppc64 ppc64le; do
66
rm -rf ${SCRATCH}
77
mkdir -p ${SCRATCH}
88

9-
cp endianness/${arch}/main endianness/${arch}/libtest.so ${SCRATCH}/
9+
cp ${srcdir}/endianness/${arch}/main ${srcdir}/endianness/${arch}/libtest.so ${SCRATCH}/
1010

1111
rpath="${PWD}/${SCRATCH}"
1212

@@ -19,6 +19,6 @@ for arch in ppc64 ppc64le; do
1919
# check whether rpath is still present
2020
if ! ${PATCHELF} --print-rpath ${SCRATCH}/main-shrunk | grep -q "$rpath"; then
2121
echo "rpath was removed for ${arch}"
22-
exit 1
22+
exit 1
2323
fi
2424
done

0 commit comments

Comments
 (0)