[vlc-devel] [PATCH] meson: add support for cross-compilation to linux
Alexandre Janniaux
alexandre.janniaux at gmail.com
Sun Jan 20 18:30:03 CET 2019
Define host system to linux when needed as it is not directly infered by
meson and generates a python error. It is used for example to
cross-compile to non-android ARM linux.
---
contrib/src/main.mak | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 84205dcf66..d613add97a 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -564,7 +564,8 @@ else
ifdef HAVE_IOS
echo "system = 'darwin'" >> $@
else
-ifdef HAVE_ANDROID
+ifdef HAVE_LINUX
+ # android has also system = linux and defines HAVE_LINUX
echo "system = 'linux'" >> $@
endif
endif
--
2.20.1
More information about the vlc-devel
mailing list