Print this page
8411 Build should warn when linking against libraries outside proto area

*** 19,28 **** --- 19,29 ---- # CDDL HEADER END # # # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. + # Copyright 2017 RackTop Systems. # MYPROG = svccfg PROG = $(MYPROG)
*** 87,96 **** --- 88,100 ---- $(MYPROG:%=%-native) SVCCFG_EXTRA_LIBS = -lxml2 -lscf -ll -luutil -lumem -lmd5 -lnvpair $(NOT_NATIVE)SVCCFG_EXTRA_LIBS += -ltecla + # Allow libxml2 to be taken from outside the proto area. + $(ADJUNCT_PROTO_NOT_SET)LDFLAGS += $(ZASSERTDEFLIB)=libxml2.so + LIBSCF = $(SRC)/lib/libscf LIBTECLA = $(SRC)/lib/libtecla # just for the header LIBUUTIL = $(SRC)/lib/libuutil debug := COPTFLAG = -g