summaryrefslogtreecommitdiff
path: root/usr/src/lib/libpkg/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libpkg/Makefile.com')
-rw-r--r--usr/src/lib/libpkg/Makefile.com6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/lib/libpkg/Makefile.com b/usr/src/lib/libpkg/Makefile.com
index 0106d8288f..1d8a658d52 100644
--- a/usr/src/lib/libpkg/Makefile.com
+++ b/usr/src/lib/libpkg/Makefile.com
@@ -64,7 +64,11 @@ $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC)
LIBS = $(DYNLIB) $(LINTLIB)
-LDLIBS += -lc -lsunw_ssl -lwanboot -lsunw_crypto -lscf -ladm
+LDLIBS += -lc -lwanboot -lscf -ladm
+
+# libcrypto and libssl 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