projects
/
platform
/
upstream
/
gst-libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a56380f
)
configure: fix os type configure option for android
author
Andoni Morales Alastruey
<ylatuya@gmail.com>
Tue, 23 Oct 2012 08:21:52 +0000
(10:21 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Tue, 23 Oct 2012 08:21:52 +0000
(10:21 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
3725597
..
1166b9c
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-306,7
+306,15
@@
else
fi
# if we are cross-compiling, tell libav so
- target_os=`echo $host_os | sed 's/-gnu//'`
+ case $host in
+ *android*)
+ target_os=linux
+ ;;
+ *)
+ target_os=`echo $host_os | sed 's/-gnu//'`
+ ;;
+ esac
+
if test "x$cross_compiling" = xyes; then
emblibav_configure_args="$emblibav_configure_args --enable-cross-compile \
--target-os=$target_os --arch=$host_cpu --cross-prefix=$host_alias-"