From b9a79cd8f03225944b1339146c90cb30b81689e1 Mon Sep 17 00:00:00 2001 From: Hans-Christian Egtvedt Date: Tue, 13 Jan 2009 07:26:55 +0000 Subject: [PATCH] samba: properly disable largefile if not selected in Buildroot --- package/samba/samba.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 $@ -- 2.30.2