Print this page
8411 Build should warn when linking against libraries outside proto area
@@ -20,11 +20,13 @@
#
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright 2017 RackTop Systems.
#
+#
LIBRARY= pkinit.a
VERS= .1
PKINIT_OBJS= \
@@ -70,10 +72,13 @@
CFLAGS += $(CCVERBOSE) -I..
DYNFLAGS += $(KRUNPATH) $(KMECHLIB) -znodelete
LDLIBS += -L $(ROOTLIBDIR) -lcrypto -lc
+# Allow libcrypto to be taken from outside the proto area.
+$(ADJUNCT_PROTO_NOT_SET)DYNFLAGS += $(ZASSERTDEFLIB)=libcrypto.so
+
ROOTLIBDIR= $(ROOT)/usr/lib/krb5/plugins/preauth
$(ROOTLIBDIR):
$(INS.dir)