Meson config ignores LDFLAGS
Hi. I'm trying to set paths to libffi and zlib libraries via c_link_args of Meson config, but Meson ignores my args. cpp_link_args doesn't work too. I don't understand why and how to set LDPATH correctly.
Meson log:
Build started at 2021-03-29T22:01:07.788602
Main binary: /usr/bin/python3
Build Options: '-Dc_link_flags="-L/media/vitaliy/data/projects/probo_2.0/build/externals/rtcdcpp/externals/libffi-3.2.1/out/lib"'
Python system: Linux
The Meson build system
Version: 0.53.2
Source dir: /media/vitaliy/data/projects/probo_2.0/build/externals/rtcdcpp/externals/glib-2.67.6
Build dir: /media/vitaliy/data/projects/probo_2.0/build/externals/rtcdcpp/externals/glib-2.67.6/builddir
Build type: native build
Project name: glib
Project version: 2.67.6
No CFLAGS in the environment, not changing global flags.
No LDFLAGS in the environment, not changing global flags.
No CPPFLAGS in the environment, not changing global flags.
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc /media/vitaliy/data/projects/probo_2.0/build/externals/rtcdcpp/externals/glib-2.67.6/builddir/meson-private/sanitycheckc.c -o /media/vitaliy/data/projects/probo_2.0/build/externals/rtcdcpp/externals/glib-2.67.6/builddir/meson-private/sanitycheckc.exe -pipe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:
Edited by tokarevvit