From b91355a29b2aac57a118b813d6166c0e8dea481d Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Sun, 31 May 2020 20:08:09 +0100 Subject: 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) --- mesonbuild/backend/backends.py | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v1.1