summaryrefslogtreecommitdiff
path: root/package/libxml2
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-30 13:16:18 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-30 13:16:18 +0000
commitdd655bccb6df0f184e800c600c1b771a50dbc30a (patch)
treeff5637aaf72b58829301fa5d5155c3467a2c8045 /package/libxml2
parent5404d7306525840e4928edfe6e352e8509bae53b (diff)
libxml: fix compilation without large file support
Diffstat (limited to 'package/libxml2')
-rw-r--r--package/libxml2/libxml2.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
index f04731ca2..980163b5b 100644
--- a/package/libxml2/libxml2.mk
+++ b/package/libxml2/libxml2.mk
@@ -11,6 +11,10 @@ LIBXML2_AUTORECONF = NO
LIBXML2_INSTALL_STAGING = YES
LIBXML2_INSTALL_TARGET = YES
+ifneq ($(BR2_LARGEFILE),y)
+LIBXML2_CONF_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
+endif
+
LIBXML2_CONF_OPT = --target=$(GNU_TARGET_NAME) --host=$(GNU_TARGET_NAME) \
--build=$(GNU_HOST_NAME) --prefix=/usr \
--exec-prefix=/usr --bindir=/usr/bin \