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. + # PROG = polkit-is-privileged SRCS = $(PROG:%=%.c)
*** 30,39 **** --- 32,44 ---- include ../Makefile.cmd include $(SRC)/lib/policykit/Makefile.policykit LDLIBS += -lpolkit $(POLICYKIT_GLIB_LDLIBS) + # Allow libglib to be taken from outside the proto area. + $(ADJUNCT_PROTO_NOT_SET)LDFLAGS += $(ZASSERTDEFLIB)=libglib-2.0.so + CPPFLAGS += -I$(ROOT)/usr/include/libpolkit CPPFLAGS += $(POLICYKIT_DBUS_CPPFLAGS) $(POLICYKIT_GLIB_CPPFLAGS) CPPFLAGS += -DPACKAGE_VERSION=\"$(POLICYKIT_VERSION)\" C99MODE = $(C99_ENABLE)