vlc/vlc-3.0 | branch: master | Konstantin Pavlov <[email protected]> | Fri 
Dec 21 18:56:40 2018 +0300| [5e3cc51e79be6332b43a7e5c6188746b5b840c1d] | 
committer: Felix Paul Kühne

contrib: meson crossfile: supply arguments as array elements

While meson seemingly accepts spaces in the arguments, this is cleaner.

(cherry picked from commit 62b4693390a6b76cb5db8ce470566b039a84c13c)

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

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

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