Skip to content

Commit

Permalink
msubprojects: Fix --sourcedir argument not working
Browse files Browse the repository at this point in the history
This is a regression caused by
mesonbuild#11951.

Fixes: mesonbuild#12466
  • Loading branch information
xclaesse committed Nov 3, 2023
1 parent 74712f2 commit 1471348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/msubprojects.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1471348

Please sign in to comment.