Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0

@@ -62,11 +62,15 @@
 
 
 LIBS = $(DYNLIB) $(LINTLIB)
 
 
-LDLIBS +=       -lc -lssl -lwanboot -lcrypto -lscf -ladm
+LDLIBS +=       -lc -lwanboot -lscf -ladm
+
+# libsunw_crypto and libsunw_ssl have no lint library, and so can only be used when
+# building
+$(DYNLIB) := LDLIBS += -lsunw_crypto -lsunw_ssl
 
 CFLAGS +=       $(CCVERBOSE)
 CERRWARN +=     -_gcc=-Wno-unused-label
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized