Print this page
More linty cleanup
*** 34,45 ****
include ../../Makefile.cmd
include ../Makefile.ssh-common
FILEMODE= 04555
! LDLIBS += $(SSH_COMMON_LDLIBS) -lsocket -lnsl -lz -lcrypto
POFILE_DIR= ..
.KEEP_STATE:
.PARALLEL: $(OBJS)
--- 34,48 ----
include ../../Makefile.cmd
include ../Makefile.ssh-common
FILEMODE= 04555
! LDLIBS += $(SSH_COMMON_LDLIBS) -lsocket -lnsl
+ # There's no lint library for zlib or libcrypto, so only include these for build
+ $(PROG) := LDLIBS += -lz -lcrypto
+
POFILE_DIR= ..
.KEEP_STATE:
.PARALLEL: $(OBJS)