[vlc-commits] contrib: meson: point to contribs when cross-compiling

Konstantin Pavlov git at videolan.org
Fri Dec 21 15:59:38 CET 2018


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Fri Dec 21 17:25:46 2018 +0300| [b115875c85d36b0ab8ba11d898e050cd1a4f9655] | committer: Konstantin Pavlov

contrib: meson: point to contribs when cross-compiling

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b115875c85d36b0ab8ba11d898e050cd1a4f9655
---

 contrib/src/main.mak | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 06bc95b80a..6017f5fc4c 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -553,6 +553,10 @@ crossfile.meson:
 	echo "[properties]" >> $@
 	echo "needs_exe_wrapper = true" >> $@
 ifdef HAVE_CROSS_COMPILE
+	echo "c_args = [ ' -I $(PREFIX)/include' ]" >> $@
+	echo "cpp_args = [ ' -I $(PREFIX)/include' ]" >> $@
+	echo "c_link_args = [' -L $(PREFIX)/lib' ]" >> $@
+	echo "cpp_link_args = [ ' -L $(PREFIX)/lib' ]" >> $@
 	echo "[host_machine]" >> $@
 ifdef HAVE_WIN32
 	echo "system = 'windows'" >> $@



More information about the vlc-commits mailing list