summaryrefslogtreecommitdiff
path: root/package/lighttpd/lighttpd.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-09-17 21:35:51 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-09-17 21:35:51 +0000
commit57ae4753edc0d6322452aefe98f7b570d850030b (patch)
treedaba66956472c48f6f3783c7801540a4a03555d7 /package/lighttpd/lighttpd.mk
parentfc1491ce44f90718ce18481446d7d7eccfb746ae (diff)
lighttpd: fix compilation without largefile support
lighttpd uses --disable-lfs instead of --disable-largefile. Remove redundant configure args while we're at it.
Diffstat (limited to 'package/lighttpd/lighttpd.mk')
-rw-r--r--package/lighttpd/lighttpd.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk
index 67e486d15..4c6e9e1ff 100644
--- a/package/lighttpd/lighttpd.mk
+++ b/package/lighttpd/lighttpd.mk
@@ -10,18 +10,18 @@ LIGHTTPD_INSTALL_STAGING = NO
LIGHTTPD_INSTALL_TARGET = YES
LIGHTTPD_DEPENDENCIES = uclibc
LIGHTTPD_CONF_ENV =
+
+ifneq ($(BR2_LARGEFILE),y)
+LIGHTTPD_LFS:=$(DISABLE_LARGEFILE) --disable-lfs
+endif
+
LIGHTTPD_CONF_OPT = \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --prefix=/usr \
--libdir=/usr/lib/lighttpd \
--libexecdir=/usr/lib \
- --sysconfdir=/etc \
--localstatedir=/var \
--program-prefix="" \
$(DISABLE_IPV6) \
- $(DISABLE_LARGEFILE)
+ $(LIGHTTPD_LFS)
ifeq ($(strip $(BR2_PACKAGE_LIGHTTPD_OPENSSL)),y)
LIGHTTPD_DEPENDENCIES += openssl