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

*** 20,30 **** # # # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # ident "%Z%%M% %I% %E% SMI" # HAL_PROGS = hal-system-lcd-set-brightness-sunos \ hal-system-lcd-get-brightness-sunos --- 20,30 ---- # # # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # Copyright 2017 RackTop Systems. # HAL_PROGS = hal-system-lcd-set-brightness-sunos \ hal-system-lcd-get-brightness-sunos
*** 38,47 **** --- 38,50 ---- include ../../../Makefile.cmd include ../../Makefile.hal $(HAL_PROGS) := LDLIBS += -lc $(ZIGNORE) -lglib-2.0 + # Allow libglib to be taken from outside the proto area. + $(ADJUNCT_PROTO_NOT_SET)LDFLAGS += $(ZASSERTDEFLIB)=libglib-2.0.so + CPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS) $(HAL_CONFIG_CPPFLAGS) CPPFLAGS += -I$(ROOT)/usr/include/hal CPPFLAGS += -I$(ROOT)/usr/include/libpolkit C99MODE = $(C99_ENABLE)