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.
+ #
include $(SRC)/lib/Makefile.lib
include $(SRC)/lib/policykit/Makefile.policykit
CPPFLAGS = $(POLICYKIT_DBUS_CPPFLAGS) $(POLICYKIT_GLIB_CPPFLAGS) $(CPPFLAGS.master)
*** 30,39 ****
--- 32,45 ----
CERRWARN += -_gcc=-Wno-unused-variable
C99MODE = $(C99_ENABLE)
+ # Allow libdbus and libglib to be taken from outside the proto area.
+ $(ADJUNCT_PROTO_NOT_SET)DYNFLAGS += $(ZASSERTDEFLIB)=libdbus-1.so
+ $(ADJUNCT_PROTO_NOT_SET)DYNFLAGS += $(ZASSERTDEFLIB)=libglib-2.0.so
+
ROOTLIBPCDIR = $(ROOT)/usr/lib/pkgconfig
ROOTLIBPC = $(LIBPCSRC:%=$(ROOTLIBPCDIR)/%)
CLOBBERFILES += $(LIBPCSRC)