From 4bbc75427a87b27a6d8533ab9d6150b256cc41be Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 19 May 2013 15:29:43 +0300 Subject: [PATCH] Store full path to output executables so they do not depend on "." being in path. --- backends.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends.py b/backends.py index 43f2f5f67..0ea93566a 100755 --- a/backends.py +++ b/backends.py @@ -424,7 +424,7 @@ class NinjaBackend(Backend): datafile = open(test_data, 'w') for t in self.build.get_tests(): - datafile.write(self.get_target_filename(t.get_exe()) + '\n') + datafile.write(os.path.join(self.environment.get_build_dir(), self.get_target_filename(t.get_exe())) + '\n') datafile.close() def generate_dep_gen_rules(self, outfile):