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
This commit is contained in:
Michael Olbrich 2016-11-10 15:42:19 +01:00 committed by Sebastian Dröge
parent 88da0fb956
commit 83ff353ff9

View file

@ -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