vsftpd fails to build (link) with ssl support because -lcrypto is missing in $(VSFTPD_LIBS) in the vsftpd.mk
Sorry, I forgot to mention that I had to set the LDFLAGS. I'm using an externel toolchain. $(VSFTPD_DIR)/$(VSFTPD_BINARY): $(VSFTPD_DIR)/.configured $(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" LIBS="$(VSFTPD_LIBS)" -C $(VSFTPD_DIR)
I cannot reproduce this here, vsftpd.mk has: ifeq ($(BR2_PACKAGE_OPENSSL),y) VSFTPD_LIBS:=-lcrypt -lssl else VSFTPD_LIBS:=-lcrypt endif And: $(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" LIBS="$(VSFTPD_LIBS)" -C $(VSFTPD_DIR)