Print this page
don't pass in lint libraries which no longer exist

@@ -36,11 +36,14 @@
 ROOTLIBDIR64 =  $(ROOT)/usr/lib/fs/smbfs/$(MACH64)
 
 LIBSRCS = $(LIBOBJS:%.o=$(SRCDIR)/%.c)
 
 LIBS =          $(DYNLIB)
-LDLIBS +=       -lshare -lscf -lumem -luuid -lc -lxml2 -lsmbfs
+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 \