summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHÃ¥vard Graff <havard.graff@gmail.com>2019-11-10 22:18:49 +0000
committerChristoph Reiter <reiter.christoph@gmail.com>2019-11-10 22:18:49 +0000
commitef3d27ce94ea822b7de84afd3ead58192d477af5 (patch)
treed188b98ba2cfea692077635373f47c1eaf0679b7
parent3ed45723550a21d714ac34a82d20e4aa2d7f9958 (diff)
downloadgobject-introspection-ef3d27ce94ea822b7de84afd3ead58192d477af5.tar.gz
tools/meson: use the path from the python-module instead
-rw-r--r--tools/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/meson.build b/tools/meson.build
index 418cf3ad..103480c4 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -10,7 +10,7 @@ if with_doctool
endif
if cc.get_id() == 'msvc'
- python_cmd = '/usr/bin/env ' + python.get_variable('prefix') + '\\python.exe'
+ python_cmd = '/usr/bin/env ' + python.path()
else
python_cmd = '/usr/bin/env python@0@'.format(python.language_version().split('.')[0])
endif