Only add reconfigure deps on files, not dirs. Closes #2919.

0.44
Jussi Pakkanen 7 years ago committed by Nirbheek Chauhan
parent 2bc62406c7
commit 1d90fd6a2f
  1. 2
      mesonbuild/interpreter.py

@ -1694,7 +1694,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:

Loading…
Cancel
Save