mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
samba: properly disable largefile if not selected in Buildroot
This commit is contained in:
@@ -11,6 +11,10 @@ SAMBA_CAT:=$(ZCAT)
|
|||||||
SAMBA_BINARY:=bin/smbd
|
SAMBA_BINARY:=bin/smbd
|
||||||
SAMBA_TARGET_BINARY:=usr/sbin/smbd
|
SAMBA_TARGET_BINARY:=usr/sbin/smbd
|
||||||
|
|
||||||
|
ifneq ($(BR2_LARGEFILE),y)
|
||||||
|
SAMBA_DISABLE_LARGEFILE:=--disable-largefile
|
||||||
|
endif
|
||||||
|
|
||||||
$(DL_DIR)/$(SAMBA_SOURCE):
|
$(DL_DIR)/$(SAMBA_SOURCE):
|
||||||
$(WGET) -P $(DL_DIR) $(SAMBA_SITE)/$(SAMBA_SOURCE)
|
$(WGET) -P $(DL_DIR) $(SAMBA_SITE)/$(SAMBA_SOURCE)
|
||||||
|
|
||||||
@@ -55,7 +59,7 @@ $(SAMBA_DIR)/.configured: $(SAMBA_DIR)/.unpacked
|
|||||||
--disable-shared-libs \
|
--disable-shared-libs \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-cups \
|
--disable-cups \
|
||||||
$(BR2_LARGEFILE) \
|
$(SAMBA_DISABLE_LARGEFILE) \
|
||||||
)
|
)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user