summaryrefslogtreecommitdiff
path: root/Makefile-tools.am
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-08-21 09:23:49 +0000
committerChristoph Reiter <reiter.christoph@gmail.com>2018-08-21 09:23:49 +0000
commit9ec6d0bbf379b76b724d08d1d4d271ff4971e698 (patch)
treeabc06fda02f549c6df01981abff3a20d9cd5bcbc /Makefile-tools.am
parent7378dedc564dbf7ba271853938ce0c58bff071b8 (diff)
parent2a6fc83276e9ced066ea08aed591f40bba0409eb (diff)
downloadgobject-introspection-9ec6d0bbf379b76b724d08d1d4d271ff4971e698.tar.gz
Merge branch 'tools.windows' into 'master'
MSVC builds: Further fix giscanner Python module and the Python scripts in tools/ See merge request GNOME/gobject-introspection!61
Diffstat (limited to 'Makefile-tools.am')
-rw-r--r--Makefile-tools.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile-tools.am b/Makefile-tools.am
index 8c4a069b..c70d9850 100644
--- a/Makefile-tools.am
+++ b/Makefile-tools.am
@@ -9,7 +9,7 @@ EXTRA_DIST += \
tools/g-ir-tool-template.in \
tools/meson.build
-TOOL_SUBSTITUTIONS = -e s,@libdir\@,$(libdir), -e s,@datarootdir\@,$(datarootdir), -e s,@PYTHON\@,$(PYTHON),
+TOOL_SUBSTITUTIONS = -e s,@libdir\@,$(libdir), -e s,@datarootdir\@,$(datarootdir), -e s,@PYTHON_CMD\@,\/usr\/bin\/env\ $(PYTHON),
g-ir-scanner: tools/g-ir-tool-template.in _giscanner.la Makefile
$(AM_V_GEN) sed $(TOOL_SUBSTITUTIONS) -e s,@TOOL_MODULE\@,scannermain, -e s,@TOOL_FUNCTION\@,scanner_main, $< > $@.tmp && mv $@.tmp $@