mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
Build proftpd with IPv6 support only if the toolchain was configured as such.
This commit is contained in:
parent
51245ee183
commit
b9721176ba
@ -11,6 +11,10 @@ PROFTPD_CAT:=bzcat
|
|||||||
PROFTPD_BINARY:=proftpd
|
PROFTPD_BINARY:=proftpd
|
||||||
PROFTPD_TARGET_BINARY:=usr/sbin/proftpd
|
PROFTPD_TARGET_BINARY:=usr/sbin/proftpd
|
||||||
|
|
||||||
|
ifeq ($(BR2_INET_IPV6),y)
|
||||||
|
ENABLE_IPV6:=--enable-ipv6
|
||||||
|
endif
|
||||||
|
|
||||||
$(DL_DIR)/$(PROFTPD_SOURCE):
|
$(DL_DIR)/$(PROFTPD_SOURCE):
|
||||||
$(WGET) -P $(DL_DIR) $(PROFTPD_SITE)/$(PROFTPD_SOURCE)
|
$(WGET) -P $(DL_DIR) $(PROFTPD_SITE)/$(PROFTPD_SOURCE)
|
||||||
|
|
||||||
@ -40,6 +44,7 @@ $(PROFTPD_DIR)/.configured: $(PROFTPD_DIR)/.unpacked
|
|||||||
--disable-dso \
|
--disable-dso \
|
||||||
--enable-shadow \
|
--enable-shadow \
|
||||||
$(DISABLE_LARGEFILE) \
|
$(DISABLE_LARGEFILE) \
|
||||||
|
$(ENABLE_IPV6) \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
);
|
);
|
||||||
touch $(PROFTPD_DIR)/.configured
|
touch $(PROFTPD_DIR)/.configured
|
||||||
|
Loading…
x
Reference in New Issue
Block a user