diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-14 00:14:06 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-02-14 19:14:30 +0200 |
commit | e2b5ac29d6ce52faaa5daa214a07f3b76501ca98 (patch) | |
tree | 0abb6a40cea2b006286a72b27a9572729655e68c | |
parent | d0f620364f3470e2030606f280d5724e5ef8bdb1 (diff) | |
download | meson-e2b5ac29d6ce52faaa5daa214a07f3b76501ca98.zip meson-e2b5ac29d6ce52faaa5daa214a07f3b76501ca98.tar.gz meson-e2b5ac29d6ce52faaa5daa214a07f3b76501ca98.tar.bz2 |
Only add reconfigure deps on files, not dirs. Closes #2919.
-rw-r--r-- | mesonbuild/interpreter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 38aca75..8d64cc4 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -1711,7 +1711,7 @@ external dependencies (including libraries) must go to "dependencies".''') for a in expanded_args: if not os.path.isabs(a): a = os.path.join(builddir if in_builddir else srcdir, self.subdir, a) - if os.path.exists(a): + if os.path.isfile(a): a = os.path.relpath(a, start=srcdir) if not a.startswith('..'): if a not in self.build_def_files: |