From: Michael Tremer Date: Sun, 12 Sep 2010 21:39:27 +0000 (+0200) Subject: vsftpd: Fix build with LTO. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bed7c4c5355d461b42d710c58137a4d9fe535d6;p=ipfire-3.x.git vsftpd: Fix build with LTO. --- diff --git a/pkgs/core/vsftpd/vsftpd.nm b/pkgs/core/vsftpd/vsftpd.nm index 340413a87..3601425f8 100644 --- a/pkgs/core/vsftpd/vsftpd.nm +++ b/pkgs/core/vsftpd/vsftpd.nm @@ -45,6 +45,11 @@ PKG_TARBALL = $(THISAPP).tar.gz CFLAGS += -Wall -W -Wshadow -fstack-protector -fpie -Wextra -Werror +define STAGE_PREPARE_CMDS + # Fix an issue with DSO + cd $(DIR_APP) && sed -e "s/-lssl/& -lcrypto/" -i Makefile +endef + define STAGE_BUILD cd $(DIR_APP) && make CFLAGS='$(CFLAGS)' $(PARALLELISMFLAGS) endef