mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
configure: fix os type configure option for android
This commit is contained in:
parent
a56380f2ad
commit
12857d9cf9
1 changed files with 9 additions and 1 deletions
|
@ -306,7 +306,15 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if we are cross-compiling, tell libav so
|
# if we are cross-compiling, tell libav so
|
||||||
|
case $host in
|
||||||
|
*android*)
|
||||||
|
target_os=linux
|
||||||
|
;;
|
||||||
|
*)
|
||||||
target_os=`echo $host_os | sed 's/-gnu//'`
|
target_os=`echo $host_os | sed 's/-gnu//'`
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if test "x$cross_compiling" = xyes; then
|
if test "x$cross_compiling" = xyes; then
|
||||||
emblibav_configure_args="$emblibav_configure_args --enable-cross-compile \
|
emblibav_configure_args="$emblibav_configure_args --enable-cross-compile \
|
||||||
--target-os=$target_os --arch=$host_cpu --cross-prefix=$host_alias-"
|
--target-os=$target_os --arch=$host_cpu --cross-prefix=$host_alias-"
|
||||||
|
|
Loading…
Reference in a new issue