hexagon: use env keyword argument to pass PYTHONPATH
This feature is new in meson 0.57 and allows getting rid of the "env" wrapper. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
654d6b0453
commit
0a11c44e89
@ -156,7 +156,8 @@ dectree_generated = custom_target(
|
|||||||
'dectree_generated.h.inc',
|
'dectree_generated.h.inc',
|
||||||
output: 'dectree_generated.h.inc',
|
output: 'dectree_generated.h.inc',
|
||||||
depends: [iset_py],
|
depends: [iset_py],
|
||||||
command: ['env', 'PYTHONPATH=' + meson.current_build_dir(), files('dectree.py'), '@OUTPUT@'],
|
env: {'PYTHONPATH': meson.current_build_dir()},
|
||||||
|
command: [python, files('dectree.py'), '@OUTPUT@'],
|
||||||
)
|
)
|
||||||
hexagon_ss.add(dectree_generated)
|
hexagon_ss.add(dectree_generated)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user