Print this page
don't pass in lint libraries which no longer exist
*** 36,47 ****
ROOTLIBDIR64 = $(ROOT)/usr/lib/fs/smbfs/$(MACH64)
LIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
LIBS = $(DYNLIB)
! LDLIBS += -lshare -lscf -lumem -luuid -lc -lxml2 -lsmbfs
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-uninitialized
CPPFLAGS += -D_REENTRANT -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
-I$(SRCDIR)/../common -I$(SRC)/lib/libsmbfs -I$(SRC)/uts/common
--- 36,50 ----
ROOTLIBDIR64 = $(ROOT)/usr/lib/fs/smbfs/$(MACH64)
LIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
LIBS = $(DYNLIB)
! LDLIBS += -lshare -lscf -lumem -luuid -lc -lsmbfs
+ # libxml2 has no lint library, so we can only use it when building
+ $(DYNLIB) := LDLIBS += -lxml2
+
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-switch
CERRWARN += -_gcc=-Wno-uninitialized
CPPFLAGS += -D_REENTRANT -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
-I$(SRCDIR)/../common -I$(SRC)/lib/libsmbfs -I$(SRC)/uts/common