diff options
Diffstat (limited to 'package/samba')
-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 $@ |