From 87ac38635bca3ad78b33c32c180ddd98902428fd Mon Sep 17 00:00:00 2001 From: Jerry Jelinek Date: Thu, 6 Feb 2020 20:24:23 +0000 Subject: 12217 add ld assert-deflib and guidance to gate build [fix lcrypto vs. -lsunw_crypto makefile breakage] --- usr/src/cmd/cmd-inet/usr.lib/wpad/Makefile | 3 +-- usr/src/cmd/sendmail/src/Makefile | 3 +-- usr/src/lib/krb5/plugins/preauth/pkinit/Makefile.com | 3 +-- usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com | 2 -- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/usr/src/cmd/cmd-inet/usr.lib/wpad/Makefile b/usr/src/cmd/cmd-inet/usr.lib/wpad/Makefile index 7d72bad58f..0efa270e8b 100644 --- a/usr/src/cmd/cmd-inet/usr.lib/wpad/Makefile +++ b/usr/src/cmd/cmd-inet/usr.lib/wpad/Makefile @@ -34,8 +34,7 @@ include ../../../Makefile.cmd ROOTMANIFESTDIR = $(ROOTSVCNETWORK) LDLIBS += -ldladm -ldlpi -NATIVE_LIBS += libcrypto.so -all install := LDLIBS += -lcrypto +all install := LDLIBS += -lsunw_crypto SMOFF += all_func_returns diff --git a/usr/src/cmd/sendmail/src/Makefile b/usr/src/cmd/sendmail/src/Makefile index 8791902399..e488312e99 100644 --- a/usr/src/cmd/sendmail/src/Makefile +++ b/usr/src/cmd/sendmail/src/Makefile @@ -46,8 +46,7 @@ LDFLAGS += $(MAPFILES:%=-M%) LDLIBS += ../libsmutil/libsmutil.a ../libsm/libsm.a -lresolv -lsocket \ -lnsl ../db/libdb.a -lldap -lsldap -lwrap -lumem \ - -lssl -lcrypto -lsasl -NATIVE_LIBS += libssl.so libcrypto.so + -lsunw_ssl -lsunw_crypto -lsasl INCPATH= -I. -I../include -I../db diff --git a/usr/src/lib/krb5/plugins/preauth/pkinit/Makefile.com b/usr/src/lib/krb5/plugins/preauth/pkinit/Makefile.com index 99814777f1..361550a94a 100644 --- a/usr/src/lib/krb5/plugins/preauth/pkinit/Makefile.com +++ b/usr/src/lib/krb5/plugins/preauth/pkinit/Makefile.com @@ -73,8 +73,7 @@ SMATCH=off CFLAGS += $(CCVERBOSE) -I.. DYNFLAGS += $(KRUNPATH) $(KMECHLIB) -znodelete -LDLIBS += -L $(ROOTLIBDIR) -lcrypto -lc -NATIVE_LIBS += libcrypto.so +LDLIBS += -L $(ROOTLIBDIR) -lsunw_crypto -lc ROOTLIBDIR= $(ROOT)/usr/lib/krb5/plugins/preauth diff --git a/usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com b/usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com index 95aff359da..1ff4abafdd 100644 --- a/usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com +++ b/usr/src/lib/libkmf/plugins/kmf_openssl/Makefile.com @@ -39,8 +39,6 @@ BERLIB64= $(BERLIB) OPENSSLLIBS= $(BERLIB) -lsunw_crypto -lcryptoutil -lc OPENSSLLIBS64= $(BERLIB64) -lsunw_crypto -lcryptoutil -lc -NATIVE_LIBS += libcrypto.so - SRCDIR= ../common INCDIR= ../../include -- cgit v1.2.3