Print this page
More linty cleanup
*** 69,85 ****
include ../../Makefile.cmd
include ../Makefile.ssh-common
LDLIBS += $(SSH_COMMON_LDLIBS) -lsocket \
-lnsl \
- -lz \
-lpam \
-lbsm \
-lwrap \
- -lcrypto \
-lgss \
-lcontract
MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
LDFLAGS += $(MAPFILES:%=-M%)
POFILE_DIR= ..
--- 69,85 ----
include ../../Makefile.cmd
include ../Makefile.ssh-common
LDLIBS += $(SSH_COMMON_LDLIBS) -lsocket \
-lnsl \
-lpam \
-lbsm \
-lwrap \
-lgss \
-lcontract
+ # There's no lint library for zlib or libcrypto, so only include these for build
+ $(PROG) := LDLIBS += -lz -lcrypto
MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
LDFLAGS += $(MAPFILES:%=-M%)
POFILE_DIR= ..