void-packages/srcpkgs/vsftpd/patches/002-find_libs.patch
Enno Boland 3e76d493d2 vsftpd: fix musl & cross-compile.
add openwrt patches.
2015-12-04 06:27:44 +01:00

13 lines
345 B
Diff

--- Makefile.orig
+++ Makefile
@@ -8,8 +8,8 @@ CFLAGS = -O2 -fPIE -fstack-protector --p
-D_FORTIFY_SOURCE=2 \
#-pedantic -Wconversion
-LIBS = `./vsf_findlibs.sh`
-LINK = -Wl,-s
+LIBS = -lssl -lcrypt -lnsl -lssl
+LINK =
LDFLAGS = -fPIE -pie -Wl,-z,relro -Wl,-z,now
OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \