Print this page
9852 enable ld(1) guidance and deflib assertions for the illumos build

*** 87,96 **** --- 87,97 ---- CLOBBERFILES += svccfg_lex.c svccfg_grammar.c svccfg_grammar.h \ $(MYPROG:%=%-native) SVCCFG_EXTRA_LIBS = -lxml2 -lscf -ll -luutil -lumem -lmd5 -lnvpair $(NOT_NATIVE)SVCCFG_EXTRA_LIBS += -ltecla + $(NOT_NATIVE)ADJUNCT_LIBS += libxml2.so LIBSCF = $(SRC)/lib/libscf LIBTECLA = $(SRC)/lib/libtecla # just for the header LIBUUTIL = $(SRC)/lib/libuutil
*** 108,118 **** -DNATIVE_BUILD \ $(MYCPPFLAGS) \ -I$(LIBSCF)/inc \ -I$(LIBTECLA) \ -I$(LIBUUTIL)/common ! $(NATIVE_BUILD)LDFLAGS = $(NATIVE_BUILD)LDLIBS = \ -L$(LIBUUTIL)/native -R $(LIBUUTIL)/native \ -L$(LIBSCF)/native -R $(LIBSCF)/native \ -L$(ADJUNCT_PROTO)/usr/lib -R$(ADJUNCT_PROTO)/usr/lib \ $(SVCCFG_EXTRA_LIBS) --- 109,120 ---- -DNATIVE_BUILD \ $(MYCPPFLAGS) \ -I$(LIBSCF)/inc \ -I$(LIBTECLA) \ -I$(LIBUUTIL)/common ! $(NATIVE_BUILD)LDFLAGS = -Bdirect ! $(NATIVE_BUILD)NATIVE_LIBS = libxml2.so libl.so libumem.so libmd5.so libnvpair.so libc.so $(NATIVE_BUILD)LDLIBS = \ -L$(LIBUUTIL)/native -R $(LIBUUTIL)/native \ -L$(LIBSCF)/native -R $(LIBSCF)/native \ -L$(ADJUNCT_PROTO)/usr/lib -R$(ADJUNCT_PROTO)/usr/lib \ $(SVCCFG_EXTRA_LIBS)