Print this page
Fixed libpkg/Makefile.com syntax error
don't pass in lint libraries which no longer exist
*** 62,73 ****
LIBS = $(DYNLIB) $(LINTLIB)
! LDLIBS += -lc -lssl -lwanboot -lcrypto -lscf -ladm
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-clobbered
--- 62,77 ----
LIBS = $(DYNLIB) $(LINTLIB)
! LDLIBS += -lc -lwanboot -lscf -ladm
+ # libcrypto and libssl have no lint library, and so can only be used when
+ # building
+ $(DYNLIB) := LDLIBS += -lcrypto -lssl
+
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-clobbered