summaryrefslogtreecommitdiff
path: root/usr/src/lib/krb5/plugins
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2020-02-21 03:29:22 -0800
committerJohn Levon <john.levon@joyent.com>2020-02-26 03:45:37 -0800
commit2944b91ec59a95e39012331cb055e960ae6d4489 (patch)
tree79380c99b6c97a47984ee5151c4257a70418bf16 /usr/src/lib/krb5/plugins
parent13b136d3061155363c62c9f6568d25b8b27da8f6 (diff)
downloadillumos-gate-2944b91ec59a95e39012331cb055e960ae6d4489.tar.gz
12334 fix gcc4 build
12322 kdb: removal of unused dependency recommended Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/krb5/plugins')
-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