diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-11-10 15:42:19 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-11-12 16:04:28 +0000 |
commit | d564db0033b6ab56ce9609471423574731e1073b (patch) | |
tree | ac69f4576e529af1081437c8591ee53c5e99d854 | |
parent | bfb50259470cdef12f220c9b6810bbfcc8326f60 (diff) | |
download | gst-libav-d564db0033b6ab56ce9609471423574731e1073b.tar.gz |
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
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 431c750..61086c8 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |