summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-11-10 15:42:19 +0100
committerTim-Philipp Müller <tim@centricular.com>2016-11-12 16:04:28 +0000
commitd564db0033b6ab56ce9609471423574731e1073b (patch)
treeac69f4576e529af1081437c8591ee53c5e99d854
parentbfb50259470cdef12f220c9b6810bbfcc8326f60 (diff)
downloadgst-libav-d564db0033b6ab56ce9609471423574731e1073b.tar.gz
configure: fix target_os when cross-compiling for arm
For arm 'host_os' is '*-gnueabi' or '*-gnueabihf' so sed needs to cut of more. Otherwise configuring ffmpeg will fail with "Unknown OS 'linuxeabi'." or something like that. https://bugzilla.gnome.org/show_bug.cgi?id=774215
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 431c750..61086c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -380,7 +380,7 @@ else
target_os=darwin
;;
*)
- target_os=`echo $host_os | sed 's/-gnu//'`
+ target_os=`echo $host_os | sed 's/-gnu.*//'`
;;
esac