[gobject-introspection] tools/meson: use the path from the python-module instead



commit ef3d27ce94ea822b7de84afd3ead58192d477af5
Author: HÃ¥vard Graff <havard graff gmail com>
Date:   Sun Nov 10 22:18:49 2019 +0000

    tools/meson: use the path from the python-module instead

 tools/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]