From f125eef13fc955055f2fe4220e2957280a42753c Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 10 Nov 2016 15:42:19 +0100 Subject: 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1