Print this page
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>

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright 2020 Joyent, Inc.
 #
 
 LIBRARY= kldap.a
 VERS= .1
 

@@ -63,18 +64,15 @@
 CERRWARN +=     -_gcc=-Wno-parentheses
 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
 
 FRC: