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

Konstantin Pavlov git at videolan.org
Wed Jan 23 20:01:12 CET 2019


vlc/vlc-3.0 | branch: master | Konstantin Pavlov <thresh at videolan.org> | Fri Dec 21 17:25:46 2018 +0300| [4701c3115b01e632eeaaa7ebbf59a7bf0ba36057] | committer: Felix Paul Kühne

contrib: meson: point to contribs when cross-compiling

(cherry picked from commit b115875c85d36b0ab8ba11d898e050cd1a4f9655)

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

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

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index e3e7daaf0a..29937f374f 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -539,6 +539,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