Commit 62b46933 authored by Konstantin Pavlov's avatar Konstantin Pavlov

contrib: meson crossfile: supply arguments as array elements

While meson seemingly accepts spaces in the arguments, this is cleaner.
parent c2d1aa6d
...@@ -553,10 +553,10 @@ crossfile.meson: ...@@ -553,10 +553,10 @@ crossfile.meson:
echo "[properties]" >> $@ echo "[properties]" >> $@
echo "needs_exe_wrapper = true" >> $@ echo "needs_exe_wrapper = true" >> $@
ifdef HAVE_CROSS_COMPILE ifdef HAVE_CROSS_COMPILE
echo "c_args = [ ' -I $(PREFIX)/include' ]" >> $@ echo "c_args = [ '-I', '$(PREFIX)/include' ]" >> $@
echo "cpp_args = [ ' -I $(PREFIX)/include' ]" >> $@ echo "cpp_args = [ '-I', '$(PREFIX)/include' ]" >> $@
echo "c_link_args = [' -L $(PREFIX)/lib' ]" >> $@ echo "c_link_args = [ '-L', '$(PREFIX)/lib' ]" >> $@
echo "cpp_link_args = [ ' -L $(PREFIX)/lib' ]" >> $@ echo "cpp_link_args = [ '-L', '$(PREFIX)/lib' ]" >> $@
echo "[host_machine]" >> $@ echo "[host_machine]" >> $@
ifdef HAVE_WIN32 ifdef HAVE_WIN32
echo "system = 'windows'" >> $@ echo "system = 'windows'" >> $@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment