Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Otherwise they won't take effect
|
|
Must prepend DESTDIR in case it's absolute. Also document that by
default it is relative to the gtk-doc html directory.
|
|
|
|
Running gtkdoc on a shared library that depends on another shared
library would fail otherwise.
|
|
This enables gtkdoc to produce documentation on files that were
generated, using configure_file, for example.
|
|
Stuff like gtkdoc may not be run in the top-level build directory, so
these paths need to be absolute.
Fixes #1950.
|
|
Linking a library from a directory below the executable's directory
caused an invalid path to be written in the executable's RPATH.
|
|
Otherwise it can break some compilations, see https://bugs.archlinux.org/task/54763
|
|
A path was missing from a call to os.path.relpath when handling rpaths.
Fix this by assuming empty target directory means build root.
|
|
|
|
See: https://github.com/mesonbuild/meson/issues/1979
|
|
Closes https://github.com/mesonbuild/meson/issues/1979
|
|
|
|
Closes https://github.com/mesonbuild/meson/issues/1969
|
|
https://github.com/mesonbuild/meson/pull/1986
|
|
This way, an optional dependency can always be added on Vala targets without
meson adding --pkg
|
|
|
|
|
|
|
|
|
|
Handle both pkg-config and pkgconf argument order. Closes #1934.
|
|
|
|
Preserve standalone -D arguments
|
|
|
|
|
|
|
|
* tests: Add a test for C library in Vala target
https://github.com/mesonbuild/meson/issues/1939
* Make external library no-op when used with incompatible target
This is how it used to behave earlier, but we accidentally regressed
Closes https://github.com/mesonbuild/meson/issues/1939
|
|
|
|
This was broken because the class property will say True but the
object property will not be set. Store the value on the class property
and transfer to object in __init__. Just like PkgConfigDependency.
|
|
Adds a test so that this is catched later.
Closes https://github.com/mesonbuild/meson/issues/1937
|
|
|
|
|
|
Preserve -L -l pairings fetched from external deps
|
|
|
|
are kept in order.
|
|
While adding link args for external deps, sometimes different
libraries come from different prefixes, and an older version of the
same library might be present in other prefixes and we don't want to
accidentally pick that up.
For example:
/usr/local/lib/libglib-2.0.so
/usr/local/lib/pkgconfig/glib-2.0.pc
/usr/local/lib/libz.so
/usr/local/lib/pkgconfig/zlib.pc
/home/mesonuser/.local/lib/libglib-2.0.so
/home/mesonuser/.local/lib/pkgconfig/glib-2.0.pc
PKG_CONFIG_PATH="/home/mesonuser/.local/lib/pkgconfig/:/usr/local/lib/pkgconfig/"
If a target uses `dependencies : [glib_dep, zlib_dep]`, it will end up
using /usr/local/lib/libglib-2.0.so instead of
/home/mesonuser/.local/lib/libglib-2.0.so despite using the pkg-config
file in /home/mesonuser/.local/lib/pkgconfig because we reorder the -L
flag and separate it from the -l flag.
With this change, external link arguments will be added to the
compiler list without de-dup or reordering.
Closes https://github.com/mesonbuild/meson/issues/1718
|
|
gnome: Guard all cflags passed to g-ir-scanner
|
|
While g-ir-scanner's compatible -I and -D flags cover what most dependencies
use, there's no guarantee that a dependency's cflags don't include more
exotic flags that conflict with the tool's own options.
For a real world example, mozjs-38 has '-include some-header-file.h', which
translates to '--include nclude another-file-to-scan.h' for the scanner;
unless for some reason there's an 'nclude' GIR available on the system,
the target will thus fail.
For this purpose, g-ir-scanner allows explicitly marking some flags as
preprocessor/compiler flags by guarding them with --cflags-begin and
--cflags-end. Make sure it is used this for all cflags, not only for
global and project flags.
|
|
Include directories are passed with the -I flag to both the compiler
and g-ir-scanner, not as input files.
|
|
Work around GNU ld bug with -rpath,$ORIGIN
|
|
dependencies: Add a new class ExternalDependency
|
|
|
|
g-ir-scanner doesn't understand -rpath, so we use -L instead which
has the same effect.
Closes https://github.com/mesonbuild/meson/issues/1911
|
|
|
|
Boost tests are disabled on Windows for now because the detection
is actually completely broken. Once that's fixed (after the release)
we can enable it again.
|
|
No code changes
|
|
|
|
https://ci.appveyor.com/project/jpakkane/meson/build/2871/job/ti4qpoptd5tk19sn
|
|
This happened on the CI, so it could happen on people's machines too:
https://ci.appveyor.com/project/jpakkane/meson/build/2870/job/p2n70hg01vp3dkgl
https://ci.appveyor.com/project/jpakkane/meson/build/2870/job/7ifh64mi1999guxt
|