Print this page
8411 Build should warn when linking against libraries outside proto area
*** 19,36 ****
--- 19,41 ----
# CDDL HEADER END
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright 2017 RackTop Systems.
+ #
include ../Makefile.com
PROG= p12split
LDLIBS += -lwanboot -linetutil -lwanbootutil -lcrypto
CPPFLAGS += -I$(CMNCRYPTDIR)
LINTFLAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
+ # Allow libcrypto to be taken from outside the proto area.
+ $(ADJUNCT_PROTO_NOT_SET)LDFLAGS += $(ZASSERTDEFLIB)=libcrypto.so
+
all: $(PROG)
install: all $(ROOTCMD)
clean: