Print this page
12312 fix unused lib dependencies
*** 21,31 ****
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
TESTPROG = kwarndtest
PROG= ktkt_warnd
MANIFEST= ktkt_warn.xml
--- 21,31 ----
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright 2020 Joyent, Inc.
TESTPROG = kwarndtest
PROG= ktkt_warnd
MANIFEST= ktkt_warn.xml
*** 65,77 ****
-I$(SRC)/lib/gss_mechs/mech_krb5/include \
-I$(SRC)/uts/common/gssapi/mechs/krb5/include
ktkt_warnd := MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
ktkt_warnd := LDFLAGS += $(KRUNPATH) $(MAPFILES:%=-M%)
LDFLAGS += $(KRUNPATH)
! LDLIBS += $(KMECHLIB) -lnsl
.KEEP_STATE:
all: $(PROG) $(TESTPROG)
--- 65,78 ----
-I$(SRC)/lib/gss_mechs/mech_krb5/include \
-I$(SRC)/uts/common/gssapi/mechs/krb5/include
ktkt_warnd := MAPFILES = $(MAPFILE.INT) $(MAPFILE.NGB)
ktkt_warnd := LDFLAGS += $(KRUNPATH) $(MAPFILES:%=-M%)
+ ktkt_warnd := LDLIBS += -lnsl
LDFLAGS += $(KRUNPATH)
! LDLIBS += $(KMECHLIB)
.KEEP_STATE:
all: $(PROG) $(TESTPROG)