summaryrefslogtreecommitdiffstats
path: root/src/glib.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-06-07 07:52:20 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-06-07 07:52:20 (GMT)
commit8e4ab07b8e8ff9642148e411d58acebf43ae0a3b (patch)
tree1df25ed48ded943562af00c8d70e6ed4197c5466 /src/glib.mk
parent180ad763845cc9db45d3654eeed55b5ff72ecb14 (diff)
downloadmxe-8e4ab07b8e8ff9642148e411d58acebf43ae0a3b.zip
mxe-8e4ab07b8e8ff9642148e411d58acebf43ae0a3b.tar.gz
mxe-8e4ab07b8e8ff9642148e411d58acebf43ae0a3b.tar.bz2
packages libiconv glib: fix for removed gets() and apply patches in glib build
Diffstat (limited to 'src/glib.mk')
-rw-r--r--src/glib.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glib.mk b/src/glib.mk
index f99e338..a8dc8f8 100644
--- a/src/glib.mk
+++ b/src/glib.mk
@@ -20,6 +20,8 @@ define $(PKG)_NATIVE_BUILD
# native build of libiconv (used by glib-genmarshal)
cd '$(1).native' && $(call UNPACK_PKG_ARCHIVE,libiconv)
+ $(foreach PKG_PATCH,$(sort $(wildcard $(TOP_DIR)/src/libiconv-*.patch)),
+ (cd '$(1).native/$(libiconv_SUBDIR)' && $(PATCH) -p1 -u) < $(PKG_PATCH))
cd '$(1).native/$(libiconv_SUBDIR)' && ./configure \
--disable-shared \
--disable-nls