Skip to content

Commit

Permalink
xcode: Fix custom target output dir logic for is_build_only
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Mar 18, 2024
1 parent 0ccd151 commit 79cd602
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/backend/xcodebackend.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def get_target_dir(self, target: T.Union[build.Target, build.CustomTargetIndex])
return dirname

def get_custom_target_output_dir(self, target: T.Union[build.Target, build.CustomTargetIndex]) -> str:
dirname = target.get_source_subdir()
dirname = target.get_output_subdir()
os.makedirs(os.path.join(self.environment.get_build_dir(), dirname), exist_ok=True)
return dirname

Expand Down

0 comments on commit 79cd602

Please sign in to comment.