diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-05-31 20:08:09 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-06-13 18:48:35 +0000 |
commit | b91355a29b2aac57a118b813d6166c0e8dea481d (patch) | |
tree | 0ba4c120333aec01ed68a2a39ce85ec4769df82d /mesonbuild/backend/backends.py | |
parent | 1b7855c36d6ed40ef5bb5920e8c18b7b646809b0 (diff) | |
download | meson-b91355a29b2aac57a118b813d6166c0e8dea481d.zip meson-b91355a29b2aac57a118b813d6166c0e8dea481d.tar.gz meson-b91355a29b2aac57a118b813d6166c0e8dea481d.tar.bz2 |
Include the dep itself in extra_paths for Windows
This is needed in the case where a custom_target directly depends on a
shared library, and somehow loads it.
(Specifically this can be the case with gtkdoc, when it invokes
gtkdoc-scangobj, which will build and run it's own code to load a shared
library, to introspect it)
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r-- | mesonbuild/backend/backends.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index 19df78b..fc8c8df 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -743,6 +743,7 @@ class Backend: for deppath in self.rpaths_for_bundled_shared_libraries(target, exclude_system=False): result.add(os.path.normpath(os.path.join(self.environment.get_build_dir(), deppath))) for bdep in extra_bdeps: + prospectives.add(bdep) prospectives.update(bdep.get_transitive_link_deps()) # Internal deps for ld in prospectives: |