Print this page
8411 Build should warn when linking against libraries outside proto area
*** 21,30 ****
--- 21,31 ----
#
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright 2013 Nexenta Systems, Inc. All rights reserved.
+ # Copyright 2017 RackTop Systems.
#
LIBRARY = libshare_smb.a
VERS = .1
SMBMLSVC_DIR = $(SRC)/lib/smbsrv/libmlsvc/common
*** 45,54 ****
--- 46,58 ----
lintcheck := SRCS = $(LIBSRCS)
LIBS = $(DYNLIB)
LDLIBS += -lshare -lscf -luuid -ldlpi -lnsl -lnvpair -lxml2 -lumem -lc
+ # Allow libxml2 to be taken from outside the proto area.
+ $(ADJUNCT_PROTO_NOT_SET)DYNFLAGS += $(ZASSERTDEFLIB)=libxml2.so
+
CFLAGS += $(CCVERBOSE)
CERRWARN += -_gcc=-Wno-char-subscripts
CERRWARN += -_gcc=-Wno-switch
CPPFLAGS += -D_REENTRANT -I$(ADJUNCT_PROTO)/usr/include/libxml2 \
-I$(SRCDIR)/../common