summaryrefslogtreecommitdiff
path: root/libasm
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2013-11-01 00:51:04 -0700
committerMark Wielaard <mjw@redhat.com>2013-11-05 17:07:10 +0100
commita45c8043358151085633b15ea615f31f3bd680f7 (patch)
treed02e1dc4190e4eda3d79001c33a1743f1ed3c784 /libasm
parentbe86084bd77f5729138577291baad6b29fb44984 (diff)
downloadelfutils-a45c8043358151085633b15ea615f31f3bd680f7.tar.gz
Check for prefixed ar, readelf, and nm
Sometimes with cross-compile toolchains, the tools are prefixed with the target arch. Using AC_CHECK_TOOL looks for tools named like this. Signed-off-by: Michael Forney <mforney@mforney.org> Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'libasm')
-rw-r--r--libasm/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/libasm/Makefile.am b/libasm/Makefile.am
index e16d4be0..4d81536b 100644
--- a/libasm/Makefile.am
+++ b/libasm/Makefile.am
@@ -69,7 +69,7 @@ libasm.so: libasm_pic.a libasm.map
-Wl,--version-script,$(srcdir)/libasm.map,--no-undefined \
-Wl,--soname,$@.$(VERSION) \
../libebl/libebl.a ../libelf/libelf.so $(libasm_so_LDLIBS)
- if readelf -d $@ | fgrep -q TEXTREL; then exit 1; fi
+ if $(READELF) -d $@ | fgrep -q TEXTREL; then exit 1; fi
ln -fs $@ $@.$(VERSION)
install: install-am libasm.so