termux_setup_meson: fix deprecated way of setting cflags and ldflags

c_args and friends should be under [built-in options] now.
This commit is contained in:
Henrik Grimler 2022-02-05 09:24:27 +01:00
parent 1a2ab9b78f
commit 89c54741a5
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ termux_setup_meson() {
echo "[properties]" >> $TERMUX_MESON_CROSSFILE
echo "needs_exe_wrapper = true" >> $TERMUX_MESON_CROSSFILE
echo '' >> $TERMUX_MESON_CROSSFILE
echo "[built-in options]" >> $TERMUX_MESON_CROSSFILE
echo -n "c_args = [" >> $TERMUX_MESON_CROSSFILE
local word first=true
for word in $CFLAGS $CPPFLAGS; do