diff options
-rw-r--r-- | tools/Makefile.am | 2 | ||||
-rwxr-xr-x | tools/g-ir-scanner.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am index 31ed1456..b8e03939 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -9,7 +9,7 @@ bin_SCRIPTS = g-ir-scanner EXTRA_DIST = g-ir-scanner.in g-ir-scanner: g-ir-scanner.in Makefile - sed -e s,@libdir\@,$(libdir), $< > $@.tmp && mv $@.tmp $@ + sed -e s,@libdir\@,$(libdir), -e s,@PYTHON\@,$(PYTHON), $< > $@.tmp && mv $@.tmp $@ chmod a+x $@ g_ir_compiler_SOURCES = compiler.c diff --git a/tools/g-ir-scanner.in b/tools/g-ir-scanner.in index b7197c9e..4c4d9270 100755 --- a/tools/g-ir-scanner.in +++ b/tools/g-ir-scanner.in @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!@PYTHON@ # -*- Mode: Python -*- # GObject-Introspection - a framework for introspecting GObject libraries # Copyright (C) 2008 Johan Dahlin |