prepend ${NINJA_ROOT}/misc to PYTHONPATH in run environment (#18182)
This commit is contained in:
parent
1c0a92662b
commit
b5db5cf259
1 changed files with 3 additions and 0 deletions
|
@ -40,6 +40,9 @@ def test(self):
|
|||
ninja_test = Executable('./ninja_test')
|
||||
ninja_test()
|
||||
|
||||
def setup_run_environment(self, env):
|
||||
env.prepend_path('PYTHONPATH', self.prefix.misc)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
mkdir(prefix.bin)
|
||||
install('ninja', prefix.bin)
|
||||
|
|
Loading…
Reference in a new issue