diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-05-19 15:29:43 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-05-19 15:29:43 +0300 |
| commit | 4bbc75427a87b27a6d8533ab9d6150b256cc41be (patch) | |
| tree | 9a53a702c4e3e711eb886d90828233ef89163bd2 /backends.py | |
| parent | 547706e385fa259d88550c51c5c74545ab0c7b8c (diff) | |
| download | meson-4bbc75427a87b27a6d8533ab9d6150b256cc41be.tar.gz | |
Store full path to output executables so they do not depend on "." being in path.
Diffstat (limited to 'backends.py')
| -rwxr-xr-x | backends.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |
