aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 9045007..58cc9b9 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -327,7 +327,7 @@ class Environment:
def get_build_command(self, unbuffered=False):
cmd = mesonlib.meson_command[:]
if unbuffered and 'python' in cmd[0]:
- cmd = [cmd[0],'-u'] + cmd[1:]
+ cmd.insert(1, '-u')
return cmd
def is_header(self, fname):