002-find_libs.patch 332 B

12345678910111213
  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -8,8 +8,8 @@ CFLAGS = -O2 -fPIE -fstack-protector --p
  4. -D_FORTIFY_SOURCE=2 \
  5. #-pedantic -Wconversion
  6. -LIBS = `./vsf_findlibs.sh`
  7. -LINK = -Wl,-s
  8. +LIBS = -lcrypt -lnsl
  9. +LINK =
  10. LDFLAGS = -fPIE -pie -Wl,-z,relro -Wl,-z,now
  11. OBJS = main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o \