summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ssh/libssh
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2012-02-01 11:05:52 +0000
committerRichard Lowe <richlowe@richlowe.net>2012-02-01 11:05:52 +0000
commitc110a1957d12b171086b90633f9680da62428ccd (patch)
treed36df5dff0bef28488148be65d3e859021de0fb1 /usr/src/cmd/ssh/libssh
parenta8be79fa54c16403e012b2993a3edbe079777fee (diff)
downloadillumos-joyent-c110a1957d12b171086b90633f9680da62428ccd.tar.gz
2055 libssh lint library includes other libraries, screws up
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Andrew Stormont <Andrew.Stormont@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/cmd/ssh/libssh')
-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 = ../..