summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Casal Quinteiro <icq@gnome.org>2015-03-25 14:35:12 +0100
committerIgnacio Casal Quinteiro <icq@gnome.org>2015-03-25 14:37:23 +0100
commit2699b11503550bcfde7a31bf867e4cf780d3d5f9 (patch)
treee8e763fbd9d9ae5c5e8f4d032f401ca577b34b9e
parentc0243e116c5e261c262dded9f4d7726a770c5a19 (diff)
downloadgobject-introspection-2699b11503550bcfde7a31bf867e4cf780d3d5f9.tar.gz
Makefile.instrospection: search for MINGW instead of MINGW32
On mingw64 the right string to search is MINGW64 so instead of search for a specific one we just search for the generic MINGW. Thanks Alexey for finding out this problem. https://bugzilla.gnome.org/show_bug.cgi?id=746740
-rw-r--r--Makefile.introspection2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.introspection b/Makefile.introspection
index bcfecba4..b458166f 100644
--- a/Makefile.introspection
+++ b/Makefile.introspection
@@ -68,7 +68,7 @@ _gir_export_packages = $(foreach pkg,$($(_gir_name)_EXPORT_PACKAGES),--pkg-expor
# a command-line argument --libtool="/bin/sh ../../libtool" into
# --libtool=c:/opt/msys/1.0/bin/libtool. So just use sh.exe without path
# because we already "know" where the libtool configure produced is.
-_gir_libtool = $(if $(findstring MINGW32,$(shell uname -s)),--libtool="$(top_builddir)/libtool",$(if $(LIBTOOL),--libtool="$(LIBTOOL)"))
+_gir_libtool = $(if $(findstring MINGW,$(shell uname -s)),--libtool="$(top_builddir)/libtool",$(if $(LIBTOOL),--libtool="$(LIBTOOL)"))
# Macros for AM_SILENT_RULES prettiness
_gir_verbosity = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)