Commit d564db00 authored by Michael Olbrich's avatar Michael Olbrich Committed by Tim-Philipp Müller

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
parent bfb50259
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment