summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/ssh/libssh/Makefile.com10
1 files changed, 5 insertions, 5 deletions
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 = ../..