From: Hans-Christian Egtvedt Date: Tue, 13 Jan 2009 07:26:55 +0000 (-0000) Subject: samba: properly disable largefile if not selected in Buildroot X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9a79cd8f03225944b1339146c90cb30b81689e1;p=buildroot.git samba: properly disable largefile if not selected in Buildroot --- 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 $@