Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0
Reviewed by Keith Wesolowski <keith.wesolowski@joyent.com>
Reviewed by Alexander Eremin <alexander.eremin@nexenta.com>

@@ -33,11 +33,14 @@
 SRCS =          $(OBJS:.o=.c)
 
 include ../../Makefile.cmd
 include ../Makefile.ssh-common
 
-LDLIBS +=       $(SSH_COMMON_LDLIBS) -lsocket -lcrypto -ltecla
+LDLIBS +=       $(SSH_COMMON_LDLIBS) -lsocket -ltecla
+
+# libcrypto has no lint library, so we can only use it when building
+$(PROG) := LDLIBS += -lcrypto
 
 POFILE_DIR =    ..
 
 .KEEP_STATE: