diff options
author | Richard Lowe <richlowe@richlowe.net> | 2012-02-01 11:05:52 +0000 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2012-02-01 11:05:52 +0000 |
commit | c110a1957d12b171086b90633f9680da62428ccd (patch) | |
tree | d36df5dff0bef28488148be65d3e859021de0fb1 /usr/src/cmd/ssh/libssh | |
parent | a8be79fa54c16403e012b2993a3edbe079777fee (diff) | |
download | illumos-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.com | 10 |
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 = ../.. |