diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2018-01-03 18:32:07 +0000 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2018-01-06 14:23:53 +0000 |
commit | 8a27c08b05e4537d5061d30ddd8aad9dc52cf1c4 (patch) | |
tree | 4adabb3a57bb13d08fc23845b12a9d798104bf9e /run_project_tests.py | |
parent | bbdd6ecd4c36d5f66217fad0e53fdc42bfa59e90 (diff) | |
download | meson-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 'run_project_tests.py')
0 files changed, 0 insertions, 0 deletions