From 28658486daa5cd3e7a58edb3539885422889c44f Mon Sep 17 00:00:00 2001 From: jstebbins Date: Sun, 23 May 2010 15:38:21 +0000 Subject: 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 --- gtk/module.defs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gtk/module.defs') 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) -- cgit v1.2.3