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

@@ -40,12 +40,15 @@
 
 ROOTCMDDIR =    $(ROOTLIB_HAL)
 
 LDLIBS +=       -lc -lm -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lgobject-2.0 \
                 -ldevinfo -lsysevent -lnvpair -lkstat -lcfgadm
+ADJUNCT_LIBS =  libdbus-1.so libdbus-glib-1.so libglib-2.0.so libgobject-2.0.so
+
 
 all install $(PROG) :=  LDLIBS += -lexpat
+all install $(PROG) :=  ADJUNCT_LIBS += libexpat.so
 
 CPPFLAGS +=     $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS) $(HAL_CONFIG_CPPFLAGS)
 CSTD =  $(CSTD_GNU99)
 
 CLOBBERFILES += hald_marshal.c hald_marshal.h