1 From c58b658a93b1b6d6e94ba0306d58de845012cef6 Mon Sep 17 00:00:00 2001
2 From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>
3 Date: Tue, 18 Dec 2012 12:22:52 +0100
4 Subject: [PATCH] Use proper objdump
6 If the OBJDUMP environment variable is set, that should be used rather
7 than the objdump in PATH.
9 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
12 1 file changed, 2 insertions(+), 2 deletions(-)
14 diff --git a/configure.ac b/configure.ac
15 index 1a31a06..cc7557d 100755
18 @@ -17,7 +17,7 @@ AC_DEFUN([FIND_PARSER_SONAME],
19 AC_MSG_CHECKING([for lib_$1_parser_$2_elinux.3.0.so soname])
20 path=`$PKG_CONFIG --variable=libdir libfslparser`
21 SONAME=$( $CC -print-file-name=$PKG_CONFIG_SYSROOT_DIR$path/lib_$1_parser_$2_elinux.so | \
22 - while read output; do objdump -p $output | \
23 + while read output; do $OBJDUMP -p $output | \
25 sed -e 's/ \+SONAME \+//'; done 2> /dev/null )
26 if [[ -z "$SONAME" ]]; then
27 @@ -36,7 +36,7 @@ AC_DEFUN([FIND_ACODEC_SONAME],
28 AC_MSG_CHECKING([for lib_$1_wrap_$2_elinux.so soname])
29 path=`$PKG_CONFIG --variable=libdir libfslaudiocodec`
30 SONAME=$( $CC -print-file-name=$PKG_CONFIG_SYSROOT_DIR$path/wrap/lib_$1_wrap_$2_elinux.so | \
31 - while read output; do objdump -p $output | \
32 + while read output; do $OBJDUMP -p $output | \
34 sed -e 's/ \+SONAME \+//'; done 2> /dev/null )
35 if [[ -z "$SONAME" ]]; then