summaryrefslogtreecommitdiffstats
path: root/gtk/module.rules
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2018-11-13 14:59:23 -0800
committerJohn Stebbins <[email protected]>2018-11-14 08:26:37 -0800
commitecf438613cbb92696013558cd4a95c48bbd47ccf (patch)
tree6c14a15f4e9e44e6c56e7efcad86422a5ad5b460 /gtk/module.rules
parentda8a76a46e40bc7a8b5b90acd27900873b6a171c (diff)
LinGui: use the version of python found by configure
Fixes https://github.com/HandBrake/HandBrake/issues/1677
Diffstat (limited to 'gtk/module.rules')
-rw-r--r--gtk/module.rules10
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/module.rules b/gtk/module.rules
index d4242cf5a..eaebdb3f5 100644
--- a/gtk/module.rules
+++ b/gtk/module.rules
@@ -11,15 +11,17 @@ gtk.configure: $(GTK.CONFIGURE.stamp)
$(GTK.CONFIGURE.stamp): | $(dir $(GTK.CONFIGURE.stamp))
$(GTK.CONFIGURE.stamp): $(GTK.src/)Makefile.am
+$(GTK.CONFIGURE.stamp): $(BUILD/)GNUmakefile
$(GTK.CONFIGURE.stamp): $(GTK.src/)configure.ac $(GTK.src/)src/Makefile.am
set -e; cd $(GTK.src/); NOCONFIGURE=1 ./autogen.sh
set -e; cd $(GTK.build/); $(call fn.ABSOLUTE,$(GTK.src/))configure \
$(GTK.CONFIGURE.extra) \
PKG_CONFIG_PATH=$(BUILD/)contrib/lib/pkgconfig:$(PKG_CONFIG_PATH) \
- CFLAGS="$(call fn.ARGS,GTK.GCC,.g .O *D ?extra)" \
- LDFLAGS="$(call fn.ARGS,GTK.GCC,?strip .g .O ?extra.exe)" \
- --prefix=$(PREFIX) \
- --with-hb=$(call fn.ABSOLUTE,$(BUILD/))
+ CFLAGS="$(call fn.ARGS,GTK.GCC,.g .O *D ?extra)" \
+ LDFLAGS="$(call fn.ARGS,GTK.GCC,?strip .g .O ?extra.exe)" \
+ PYTHON="$(PYTHON.exe)" \
+ --prefix=$(PREFIX) \
+ --with-hb=$(call fn.ABSOLUTE,$(BUILD/))
$(TOUCH.exe) $@
gtk.build: | $(GTK.build/)