mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
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:
parent
88da0fb956
commit
83ff353ff9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue