diff options
Diffstat (limited to 'tests/run-nm-self.sh')
| -rwxr-xr-x | tests/run-nm-self.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run-nm-self.sh b/tests/run-nm-self.sh index 6a31afcf..a062c37d 100755 --- a/tests/run-nm-self.sh +++ b/tests/run-nm-self.sh @@ -17,6 +17,11 @@ . $srcdir/test-subr.sh +if ! grep -q -F '#define LIBEXT ".so"' ${abs_top_builddir}/config.h; then + echo "only works with native ELF binaries." + exit 77 +fi + # Test different command line combinations on the nm binary itself. # Test on nm ET_REL, ET_EXEC and ET_DYN files. ET_REL=${abs_top_builddir}/src/nm.o |
