Store full path to output executables so they do not depend on "." being in path.

pull/15/head
Jussi Pakkanen 12 years ago
parent 547706e385
commit 4bbc75427a
  1. 2
      backends.py

@ -424,7 +424,7 @@ class NinjaBackend(Backend):
datafile = open(test_data, 'w') datafile = open(test_data, 'w')
for t in self.build.get_tests(): 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() datafile.close()
def generate_dep_gen_rules(self, outfile): def generate_dep_gen_rules(self, outfile):

Loading…
Cancel
Save