summaryrefslogtreecommitdiffstats
path: root/gtk/module.defs
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/module.defs')
-rw-r--r--gtk/module.defs7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/module.defs b/gtk/module.defs
index 8c1648d61..6801d61aa 100644
--- a/gtk/module.defs
+++ b/gtk/module.defs
@@ -6,6 +6,13 @@ GTK.build/ = $(BUILD/)gtk/
GTK.CONFIGURE.stamp = $(GTK.build/).stamp.configure
+ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
+GTK.CONFIGURE.extra += --host=$(BUILD.spec)
+ifeq ($(HAS.dlfcn),1)
+ GTK.CONFIGURE.extra += --enable-dl
+endif
+endif
+
###############################################################################
GTK.out += $(GTK.CONFIGURE.stamp)