summaryrefslogtreecommitdiffstats
path: root/src/glib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/glib.mk')
-rw-r--r--src/glib.mk12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/glib.mk b/src/glib.mk
index cbfdd27..e3aaabe 100644
--- a/src/glib.mk
+++ b/src/glib.mk
@@ -1,14 +1,11 @@
-# This file is part of mingw-cross-env.
-# See doc/index.html for further information.
+# This file is part of MXE.
+# See index.html for further information.
-# GLib
PKG := glib
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 2.28.6
-$(PKG)_CHECKSUM := 51996339c823cf36ba28c774c4afad933d5f5744
+$(PKG)_CHECKSUM := 20cd63705a8805260da0320c65b979233f2e3c18
$(PKG)_SUBDIR := glib-$($(PKG)_VERSION)
$(PKG)_FILE := glib-$($(PKG)_VERSION).tar.bz2
-$(PKG)_WEBSITE := http://www.gtk.org/
$(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/glib/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
$(PKG)_DEPS := gcc gettext pcre libiconv zlib dbus
@@ -53,10 +50,9 @@ define $(PKG)_BUILD
$(INSTALL) -m755 '$(1).native/gio/glib-compile-schemas' '$(PREFIX)/$(TARGET)/bin/'
# cross build
- # wine confuses the cross-compiling detection, so set it explicitly
- $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
+ --build="`config.guess`" \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
--with-threads=win32 \