diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-08-15 20:05:56 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-08-18 12:08:20 +0300 |
commit | 50fb7d37abc02b674b66071b51b1a2862fabb3cd (patch) | |
tree | d75a57c8f0726f772219979e00b624832038a01a /mesonbuild/mesonlib.py | |
parent | 62aabb5a8be90467603b1348d8ae4c0847bc5d1e (diff) | |
download | meson-50fb7d37abc02b674b66071b51b1a2862fabb3cd.zip meson-50fb7d37abc02b674b66071b51b1a2862fabb3cd.tar.gz meson-50fb7d37abc02b674b66071b51b1a2862fabb3cd.tar.bz2 |
Make all functionality invokable via the main Meson binary,
which can be a Windows .exe file.
Diffstat (limited to 'mesonbuild/mesonlib.py')
-rw-r--r-- | mesonbuild/mesonlib.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/mesonbuild/mesonlib.py b/mesonbuild/mesonlib.py index d48625f..9a019c6 100644 --- a/mesonbuild/mesonlib.py +++ b/mesonbuild/mesonlib.py @@ -182,15 +182,6 @@ class File: def relative_name(self): return os.path.join(self.subdir, self.fname) -def get_meson_script(env, script): - ''' - Given the path of `meson.py`/`meson`, get the path of a meson script such - as `mesonintrospect` or `mesontest`. - ''' - meson_py = env.get_build_command() - (base, ext) = os.path.splitext(meson_py) - return os.path.join(os.path.dirname(base), script + ext) - def get_compiler_for_source(compilers, src): for comp in compilers: if comp.can_compile(src): |