]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
vsftpd: Fix build with LTO.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 12 Sep 2010 21:39:27 +0000 (23:39 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 12 Sep 2010 21:39:27 +0000 (23:39 +0200)
pkgs/core/vsftpd/vsftpd.nm

index 340413a8781c200574e459e7d6f974a6cb98ebaf..3601425f8d7d401665b67cec1725f87d7f8453c0 100644 (file)
@@ -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