summaryrefslogtreecommitdiff
path: root/usr/src/lib/libwanboot/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libwanboot/Makefile.com')
-rw-r--r--usr/src/lib/libwanboot/Makefile.com7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/src/lib/libwanboot/Makefile.com b/usr/src/lib/libwanboot/Makefile.com
index 1e6310f9ba..350c49e2a9 100644
--- a/usr/src/lib/libwanboot/Makefile.com
+++ b/usr/src/lib/libwanboot/Makefile.com
@@ -60,7 +60,12 @@ include ../../Makefile.lib
LIBS += $(LINTLIB)
LDLIBS += -lnvpair -lresolv -lnsl -lsocket -ldevinfo -ldhcputil \
- -linetutil -lc -lsunw_crypto -lsunw_ssl
+ -linetutil -lc
+
+# libcrypto and libssl have no lint library, so we can only use it when
+# building
+$(DYNLIB) := LDLIBS += -lsunw_crypto -lsunw_ssl
+
CPPFLAGS = -I$(SRC)/common/net/wanboot/crypt $(CPPFLAGS.master)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-parentheses