summaryrefslogtreecommitdiffstats
path: root/gtk/module.defs
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-05-23 15:38:21 +0000
committerjstebbins <[email protected]>2010-05-23 15:38:21 +0000
commit28658486daa5cd3e7a58edb3539885422889c44f (patch)
tree22bd3d2a80d5443584ece6d769cd7d41c53cdfaa /gtk/module.defs
parenta28717d0b3d41674934d6e0e24ee70344576fb1e (diff)
add ability to probe for existance of headers and libraries to configure.py
use this to check for system versions of bz2 z pthreadGC2 iberty and dl when building with mingw. solves a problem with conflicts when building on fedora with a full standard install of their mingw packages. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3316 b64f7644-9d1e-0410-96f1-a4d463321fa5
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)