Print this page
12312 fix unused lib dependencies

@@ -20,11 +20,11 @@
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 # Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
-# Copyright (c) 2018, Joyent, Inc.
+# Copyright 2020 Joyent, Inc.
 #
 
 PROG    = dhcpagent
 ROOTFS_PROG = $(PROG)
 DEFAULTFILES = dhcpagent.dfl

@@ -44,11 +44,11 @@
 
 # not linted
 SMATCH=off
 CPPFLAGS  += -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
 LDLIBS    += -lxnet -lnvpair -ldhcpagent -ldhcputil -linetutil -ldevinfo \
-        -ldlpi -lresolv -lsocket -lipadm
+        -ldlpi -lresolv -lipadm
 
 # Disable warnings that affect all XPG applications.
 LINTFLAGS += -erroff=E_INCONS_ARG_DECL2 -erroff=E_INCONS_VAL_TYPE_DECL2
 
 .KEEP_STATE: