diff options
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2009-01-13 07:26:55 +0000 |
---|---|---|
committer | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2009-01-13 07:26:55 +0000 |
commit | b9a79cd8f03225944b1339146c90cb30b81689e1 (patch) | |
tree | 71b6c319d5888ab4bc69c49d2cad05da46ece83a /package | |
parent | 147232da396fb945ae984af80b14548349c41e0b (diff) |
samba: properly disable largefile if not selected in Buildroot
Diffstat (limited to 'package')
-rw-r--r-- | package/samba/samba.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/package/samba/samba.mk b/package/samba/samba.mk index 91d1c2034..ad0bec9d9 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 $@ |