summaryrefslogtreecommitdiff
path: root/usr/src/lib/krb5
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/krb5')
-rw-r--r--usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com8
1 files changed, 3 insertions, 5 deletions
diff --git a/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com b/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com
index 72a6b80cab..966241305e 100644
--- a/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com
+++ b/usr/src/lib/krb5/plugins/kdb/ldap/Makefile.com
@@ -22,6 +22,7 @@
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright 2020 Joyent, Inc.
#
LIBRARY= kldap.a
@@ -46,7 +47,7 @@ include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
#override liblink
INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
-CPPFLAGS += -DHAVE_CONFIG_H \
+CPPFLAGS += -DHAVE_CONFIG_H \
-I$(SRC)/cmd/krb5/iprop \
-I$(SRC)/lib/krb5 \
-I$(SRC)/lib/krb5/kdb \
@@ -65,15 +66,12 @@ CERRWARN += -_gcc=-Wno-unused-function
DYNFLAGS += $(KERBRUNPATH)
# setting -L $(ROOT)/usr/lib/gss because libkdb_ldap needs mech_krb5
-LDLIBS += -L $(ROOT)/usr/lib/gss -L $(ROOTLIBDIR) -lkdb_ldap \
- -lc
+LDLIBS += -L $(ROOT)/usr/lib/gss -L $(ROOTLIBDIR) -lkdb_ldap
.KEEP_STATE:
all: $(LIBS)
-lint: lintcheck
-
# include library targets
include $(SRC)/lib/krb5/Makefile.targ