From c110a1957d12b171086b90633f9680da62428ccd Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Wed, 1 Feb 2012 11:05:52 +0000 Subject: 2055 libssh lint library includes other libraries, screws up Reviewed by: Gordon Ross Reviewed by: Garrett D'Amore Reviewed by: Andrew Stormont Approved by: Garrett D'Amore --- usr/src/cmd/ssh/libssh/Makefile.com | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr/src') diff --git a/usr/src/cmd/ssh/libssh/Makefile.com b/usr/src/cmd/ssh/libssh/Makefile.com index 32461911bf..569afe7207 100644 --- a/usr/src/cmd/ssh/libssh/Makefile.com +++ b/usr/src/cmd/ssh/libssh/Makefile.com @@ -91,11 +91,11 @@ SRCS = $(OBJECTS:%.o=../common/%.c) LIBS = $(LIBRARY) $(LINTLIB) -# definitions for lint -# Until libz is compiled against unsigned uid/gid ON bits. -#LINTFLAGS += -lcrypto -lz -lsocket -lnsl -lc -LINTFLAGS += -lcrypto -lsocket -lnsl -lc -$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) +# Define LDLIBS conditionally for lintcheck, rather than in general, since +# we're building an archive library which itself links to nothing, we just +# want lint to know about these libraries. +lintcheck := LDLIBS += -lcrypto -lz -lsocket -lnsl -lc +$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC) POFILE_DIR = ../.. -- cgit v1.2.3