summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/meson.build b/tools/meson.build
index b45ce668..3d5c0044 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -10,7 +10,7 @@ if get_option('doctool')
endif
if cc.get_id() == 'msvc'
- python_cmd = python.get_variable('prefix') + '\\python.exe'
+ python_cmd = '/usr/bin/env ' + python.get_variable('prefix') + '\\python.exe'
else
python_cmd = '/usr/bin/env python@0@'.format(python.language_version().split('.')[0])
endif