From: Michael Olbrich Date: Thu, 10 Nov 2016 14:42:19 +0000 (+0100) Subject: configure: fix target_os when cross-compiling for arm X-Git-Tag: 1.19.3~499^2~300 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83ff353ff96e3191496909f6327bb047150cfac4;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/configure.ac b/configure.ac index 17825f0..2a4a57d 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