msubprojects: Fix --sourcedir argument not working
This is a regression caused by https://github.com/mesonbuild/meson/pull/11951. Fixes: #12466
This commit is contained in:
parent
61a760a39c
commit
4c5e976a75
|
@ -746,7 +746,7 @@ def run(options: 'Arguments') -> int:
|
|||
pre_func(options)
|
||||
logger = Logger(len(wraps))
|
||||
for wrap in wraps:
|
||||
dirname = Path(subproject_dir, wrap.directory).as_posix()
|
||||
dirname = Path(source_dir, subproject_dir, wrap.directory).as_posix()
|
||||
runner = Runner(logger, r, wrap, dirname, options)
|
||||
task = loop.run_in_executor(executor, runner.run)
|
||||
tasks.append(task)
|
||||
|
|
Loading…
Reference in New Issue