Browse Source

Merge pull request #3655 from onikitenko/vsftpd-fix

vsftpd: Fix compilation error on x86
lilik-openwrt-22.03
Hannu Nyman 8 years ago
committed by GitHub
parent
commit
1cee6e8802
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      net/vsftpd/Makefile

+ 2
- 0
net/vsftpd/Makefile View File

@ -55,6 +55,8 @@ else
NLSSTRING:=-lcrypt -lnsl NLSSTRING:=-lcrypt -lnsl
endif endif
TARGET_CFLAGS += -D_GNU_SOURCE -include fcntl.h
ifeq ($(BUILD_VARIANT),notls) ifeq ($(BUILD_VARIANT),notls)
define Build/Compile define Build/Compile
$(SED) 's/-lcrypt -lnsl/$(NLSSTRING)/' $(PKG_BUILD_DIR)/Makefile $(SED) 's/-lcrypt -lnsl/$(NLSSTRING)/' $(PKG_BUILD_DIR)/Makefile


Loading…
Cancel
Save