aboutsummaryrefslogtreecommitdiff
path: root/package/samba
diff options
context:
space:
mode:
authorGravatar Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-01-13 07:26:55 +0000
committerGravatar Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-01-13 07:26:55 +0000
commitb9a79cd8f03225944b1339146c90cb30b81689e1 (patch)
tree71b6c319d5888ab4bc69c49d2cad05da46ece83a /package/samba
parent147232da396fb945ae984af80b14548349c41e0b (diff)
downloadbuildroot-b9a79cd8f03225944b1339146c90cb30b81689e1.tar.gz
buildroot-b9a79cd8f03225944b1339146c90cb30b81689e1.tar.bz2
samba: properly disable largefile if not selected in Buildroot
Diffstat (limited to 'package/samba')
-rw-r--r--package/samba/samba.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/samba/samba.mk b/package/samba/samba.mk
index 91d1c20348..ad0bec9d99 100644
--- a/package/samba/samba.mk
+++ b/package/samba/samba.mk
@@ -11,6 +11,10 @@ SAMBA_CAT:=$(ZCAT)
SAMBA_BINARY:=bin/smbd
SAMBA_TARGET_BINARY:=usr/sbin/smbd
+ifneq ($(BR2_LARGEFILE),y)
+SAMBA_DISABLE_LARGEFILE:=--disable-largefile
+endif
+
$(DL_DIR)/$(SAMBA_SOURCE):
$(WGET) -P $(DL_DIR) $(SAMBA_SITE)/$(SAMBA_SOURCE)
@@ -55,7 +59,7 @@ $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked
--disable-shared-libs \
--disable-static \
--disable-cups \
- $(BR2_LARGEFILE) \
+ $(SAMBA_DISABLE_LARGEFILE) \
)
touch $@