vlc | branch: master | Konstantin Pavlov <[email protected]> | 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'" >> $@

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to