aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-01-03 18:32:07 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2018-01-06 14:23:53 +0000
commit8a27c08b05e4537d5061d30ddd8aad9dc52cf1c4 (patch)
tree4adabb3a57bb13d08fc23845b12a9d798104bf9e /mesonbuild/build.py
parentbbdd6ecd4c36d5f66217fad0e53fdc42bfa59e90 (diff)
downloadmeson-8a27c08b05e4537d5061d30ddd8aad9dc52cf1c4.zip
meson-8a27c08b05e4537d5061d30ddd8aad9dc52cf1c4.tar.gz
meson-8a27c08b05e4537d5061d30ddd8aad9dc52cf1c4.tar.bz2
Use GObject-based libraries in test case/vala/11 generated vapi
Non-GObject-based libraries are not (reliably) introspectable, and this only happens to work by accident, at the moment. Briefly: In non-libtool mode, g-ir-scanner inspects the run-time dependencies of a generated executable to determine the shared library name an -l flag corresponds to. But this generated executable only references the libraries by *_get_type() functions. So, if the library doesn't contain any Gobject-based types, it is not referenced, and this inspection fails with PECOFF binaries. It seems that distutils doesn't currently decide to use --as-needed, so this just happens to work on ELF.
Diffstat (limited to 'mesonbuild/build.py')
0 files changed, 0 insertions, 0 deletions