summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-11-10 15:42:19 +0100
committerSebastian Dröge <sebastian@centricular.com>2016-11-12 10:41:06 +0200
commitf125eef13fc955055f2fe4220e2957280a42753c (patch)
tree985373578e85df47ac8e20e44bc2fb08098ae526
parent162d9d5375f30aed2ff533c6c8a64402abc36dd2 (diff)
downloadgst-libav-f125eef13fc955055f2fe4220e2957280a42753c.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 013217c..e9cda6a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -384,7 +384,7 @@ else
target_os=darwin
;;
*)
- target_os=`echo $host_os | sed 's/-gnu//'`
+ target_os=`echo $host_os | sed 's/-gnu.*//'`
;;
esac