diff options
| author | Jonathon Anderson <anderson.jonathonm@gmail.com> | 2023-10-06 18:00:13 -0500 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2024-01-17 08:42:09 -0800 |
| commit | 57b7fbb29d456b1a607adc8ab3ae3d5c9eeb7341 (patch) | |
| tree | 6eefe830ea08827b633d12a88ebdc880026388d8 | |
| parent | 9797f7682b638427a567ab9ab354a8cc63ac1010 (diff) | |
| download | meson-57b7fbb29d456b1a607adc8ab3ae3d5c9eeb7341.tar.gz | |
backend: Add rpaths for external 'cmake' deps
Fixes https://github.com/mesonbuild/meson/issues/12338
| -rw-r--r-- | mesonbuild/backend/backends.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py index b28289e86..85f689646 100644 --- a/mesonbuild/backend/backends.py +++ b/mesonbuild/backend/backends.py @@ -764,7 +764,7 @@ class Backend: srcdir = self.environment.get_source_dir() for dep in target.external_deps: - if dep.type_name not in {'library', 'pkgconfig'}: + if dep.type_name not in {'library', 'pkgconfig', 'cmake'}: continue for libpath in dep.link_args: # For all link args that are absolute paths to a library file, add RPATH args |
