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

@@ -23,13 +23,18 @@
 #
 
 include ../Makefile.com
 
 PROG=           p12split
-LDLIBS +=       -lwanboot -linetutil -lwanbootutil -lcrypto
+LDLIBS +=       -lwanboot -linetutil -lwanbootutil
 CPPFLAGS +=     -I$(CMNCRYPTDIR)
 
+# libsunw_crypto has no lint library, so we can only include this while building
+$(PROG) := LDLIBS += -lsunw_crypto
+
+LINTFLAGS +=    -erroff=E_NAME_USED_NOT_DEF2
+
 all:            $(PROG)
 
 install:        all $(ROOTCMD)
 
 clean: