diff options
author | Martin Hostettler <textshell@uchuujin.de> | 2018-02-18 18:33:35 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-04-15 07:29:21 +0000 |
commit | aff597fb99a77b8c1211e30f712f223d6d99587c (patch) | |
tree | 1267ab643f11f1fef70b19cc27efeef654d7283a /mesonbuild/compilers/d.py | |
parent | 642e17aa6be5b6736b856961563377d10faa57aa (diff) | |
download | meson-aff597fb99a77b8c1211e30f712f223d6d99587c.zip meson-aff597fb99a77b8c1211e30f712f223d6d99587c.tar.gz meson-aff597fb99a77b8c1211e30f712f223d6d99587c.tar.bz2 |
ninjabackend: Try to guess library dependencies for linker invocation.
The linkers currently do not support ninja compatible output of
dependencies used while linking. Try to guess which files will be used
while linking in python code and generate conservative dependencies to
ensure changes in linked libraries are detected.
This generates dependencies on the best match for static and shared
linking, but this should not be a problem, except for spurious
rebuilding when only one of them changes, which should not be a problem.
Also makes sure to ignore any libraries generated inside the build, to
keep the optimisation working where changes in a shared library only
cause relink if the symbols have changed as well.
Diffstat (limited to 'mesonbuild/compilers/d.py')
0 files changed, 0 insertions, 0 deletions