Print this page
8411 Build should warn when linking against libraries outside proto area
*** 20,29 ****
--- 20,31 ----
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright 2017 RackTop Systems.
+ #
PROG = isnsadm
SRCS = cmdparse.c isnsadm.c isnsadm_msg.c
OBJS = $(SRCS:%.c=%.o)
*** 33,42 ****
--- 35,47 ----
CFLAGS += $(CCVERBOSE)
CPPFLAGS += -I. -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I../isnsd
POFILE = isnsadm_all.po
POFILES = $(OBJS:%.o=%.po)
+ # Allow libxml2 to be taken from outside the proto area.
+ $(ADJUNCT_PROTO_NOT_SET)LDFLAGS += $(ZASSERTDEFLIB)=libxml2.so
+
LINTFLAGS += -xerroff=E_BAD_FORMAT_STR2
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized