Print this page
12312 fix unused lib dependencies

@@ -1,11 +1,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# Copyright (c) 2018, Joyent, Inc.
+# Copyright 2020 Joyent, Inc.
 
 ROUTEDPROG=     in.routed
 ROUTEDOBJS=     common.o if.o input.o main.o output.o parms.o radix.o \
                 rdisc.o table.o trace.o
 ROUTEDSRCS=     $(ROUTEDOBJS:.o=.c)

@@ -41,11 +41,11 @@
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     $(CNOWARN_UNINIT)
 # not linted
 SMATCH=off
 
-LDLIBS +=       -lxnet -lmd -lsocket
+LDLIBS +=       -lxnet -lmd
 CLEAN_FILES +=  $(ROUTEDOBJS) $(RTQUERYOBJS)
 CLOBBERFILES += $(ROUTEDPROG) $(RTQUERYPROG)
 #
 # Message catalog
 #