From 39dd39ff389d93192f9365888a61b9c7f83b339f Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 23 Dec 2015 19:55:44 +0200 Subject: [PATCH] Typo fix. --- ninjabackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ninjabackend.py b/ninjabackend.py index 121fba1e8..749f35dd1 100644 --- a/ninjabackend.py +++ b/ninjabackend.py @@ -952,7 +952,7 @@ int dummy; header_imports += swiftc.get_header_import_args(absh) else: raise InvalidArguments('Swift target %s contains a non-swift source file.' % target.get_basename()) - os.makedirs(os.path.join(self.get_target_private_dir(target)), exist_ok=True) + os.makedirs(self.get_target_private_dir_abs(target), exist_ok=True) compile_args = swiftc.get_compile_only_args() compile_args += swiftc.get_module_args(module_name) link_args = swiftc.get_output_args(os.path.join(self.environment.get_build_dir(), self.get_target_filename(target)))