aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmesonbuild/msubprojects.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/msubprojects.py b/mesonbuild/msubprojects.py
index 269f0fe..656f9a2 100755
--- a/mesonbuild/msubprojects.py
+++ b/mesonbuild/msubprojects.py
@@ -430,7 +430,8 @@ class Runner:
except FileNotFoundError:
pass
- subproject_source_dir = Path(self.repo_dir).resolve()
+ # NOTE: Do not use .resolve() here; the subproject directory may be a symlink
+ subproject_source_dir = Path(self.repo_dir)
# Don't follow symlink. This is covered by the next if statement, but why
# not be doubly sure.