summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-07-28 10:51:14 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-07-28 10:51:14 (GMT)
commit5af2bcb208c744d2e8eb66d81f7aad5511d95d7c (patch)
tree0ea91cf386eb91e52146838770a829804558dc56
parent08ed5d2f8632861b4581b01e55a56d0081d677c8 (diff)
downloadmxe-5af2bcb208c744d2e8eb66d81f7aad5511d95d7c.zip
mxe-5af2bcb208c744d2e8eb66d81f7aad5511d95d7c.tar.gz
mxe-5af2bcb208c744d2e8eb66d81f7aad5511d95d7c.tar.bz2
bugfix: open files in binary mode in package giflib (by Dmitry Groshev)
-rw-r--r--src/giflib.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/giflib.mk b/src/giflib.mk
index 0216b5b..15dd186 100644
--- a/src/giflib.mk
+++ b/src/giflib.mk
@@ -23,6 +23,7 @@ define $(PKG)_BUILD
--host='$(TARGET)' \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)' \
- --without-x
+ --without-x \
+ CPPFLAGS='-D_OPEN_BINARY'
$(MAKE) -C '$(1)/lib' -j '$(JOBS)' install
endef