Hello!
I’m trying to add paths to external libs to Meson config of GLIB library using c_link_args and cpp_link_args. But there is no effect.
How I can do it?
Meson logs:
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:
Invoking meson like so: env LDFLAGS="-L/media/vitaliy/data/projects/probo_2.0/build/externals/rtcdcpp/externals/libffi-3.2.1/out/lib" meson builddir should work