b7b8c9f7400b638ccc60b969cf77582bb107582a
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / gstreamer / gst-fsl-plugins / 0003-Use-proper-objdump.patch
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
5
6 If the OBJDUMP environment variable is set, that should be used rather
7 than the objdump in PATH.
8
9 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
10 ---
11  configure.ac |    4 ++--
12  1 file changed, 2 insertions(+), 2 deletions(-)
13
14 diff --git a/configure.ac b/configure.ac
15 index 1a31a06..cc7557d 100755
16 --- a/configure.ac
17 +++ b/configure.ac
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 | \
24             grep "SONAME" | \
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 | \
33             grep "SONAME" | \
34             sed -e 's/ \+SONAME \+//'; done 2> /dev/null )
35      if [[ -z "$SONAME" ]]; then
36 --