Print this page
8411 Build should warn when linking against libraries outside proto area
*** 20,29 ****
--- 20,31 ----
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright 2017 RackTop Systems.
+ #
LIBRARY= libbrand.a
VERS= .1
OBJECTS= libbrand.o
*** 34,43 ****
--- 36,48 ----
LDLIBS += -lc
$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
CPPFLAGS += -I$(ADJUNCT_PROTO)/usr/include/libxml2 -I$(SRCDIR) -D_REENTRANT
$(DYNLIB) := LDLIBS += -lxml2
+ # Allow libxml2 to be taken from outside the proto area.
+ $(ADJUNCT_PROTO_NOT_SET)DYNFLAGS += $(ZASSERTDEFLIB)=libxml2.so
+
SRCDIR= ../common
.KEEP_STATE:
all: $(LIBS)