Print this page
8411 Build should warn when linking against libraries outside proto area
@@ -20,11 +20,13 @@
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright 2017 RackTop Systems.
#
+#
# usr/src/lib/hal/libhal-storage/Makefile.com
#
LIBRARY = libhal-storage.a
VERS = .1.0.0
@@ -36,10 +38,13 @@
LIBS = $(DYNLIB) $(LINTLIB)
LDLIBS += -lc -ldbus-1 -lhal
$(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
+# Allow libdbus to be taken from outside the proto area.
+$(ADJUNCT_PROTO_NOT_SET)DYNFLAGS += $(ZASSERTDEFLIB)=libdbus-1.so
+
SRCDIR = ../common
CFLAGS += $(CCVERBOSE)
CFLAGS += -_gcc=-Wno-deprecated-declarations
CFLAGS64 += -_gcc=-Wno-deprecated-declarations