summaryrefslogtreecommitdiffstats
path: root/gtk/module.rules
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/module.rules')
-rw-r--r--gtk/module.rules11
1 files changed, 1 insertions, 10 deletions
diff --git a/gtk/module.rules b/gtk/module.rules
index e7d93e752..138fe64a6 100644
--- a/gtk/module.rules
+++ b/gtk/module.rules
@@ -13,22 +13,13 @@ $(GTK.CONFIGURE.stamp): | $(dir $(GTK.CONFIGURE.stamp))
$(GTK.CONFIGURE.stamp): $(GTK.src/)Makefile.am
$(GTK.CONFIGURE.stamp): $(GTK.src/)configure.ac $(GTK.src/)src/Makefile.am
set -e; cd $(GTK.src/); NOCONFIGURE=1 ./autogen.sh
-ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
set -e; cd $(GTK.build/); $(call fn.ABSOLUTE,$(GTK.src/))configure \
- --host=$(BUILD.spec) \
+ $(GTK.CONFIGURE.extra) \
PKG_CONFIG_PATH=$(BUILD/)contrib/lib/pkgconfig \
CFLAGS="$(call fn.ARGS,GTK.GCC,.g .O *D ?extra)" \
LDFLAGS="$(call fn.ARGS,GTK.GCC,?strip .g .O) " \
--prefix=$(PREFIX) \
--with-hb=$(call fn.ABSOLUTE,$(BUILD/))
-else
- set -e; cd $(GTK.build/); $(call fn.ABSOLUTE,$(GTK.src/))configure \
- PKG_CONFIG_PATH=$(BUILD/)contrib/lib/pkgconfig \
- CFLAGS="$(call fn.ARGS,GTK.GCC,.g .O ?extra)" \
- LDFLAGS="$(call fn.ARGS,GTK.GCC,?strip .g .O)" \
- --prefix=$(PREFIX) \
- --with-hb=$(call fn.ABSOLUTE,$(BUILD/))
-endif
$(TOUCH.exe) $@
gtk.build: | $(GTK.build/)