Print this page
12312 fix unused lib dependencies

@@ -20,11 +20,11 @@
 #
 #
 # Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#
+# Copyright 2020 Joyent, Inc.
 
 PROG =          ipadm
 ROOTFS_PROG =   $(PROG)
 LOCALOBJS=      ipadm.o
 COMMONOBJS=

@@ -44,14 +44,12 @@
 
 ROOTUSRSBINLINKS = $(PROG:%=$(ROOTUSRSBIN)/%)
 
 # ipadm uses the ancillary data feature which is available only through
 # UNIX 98 standards version of Socket interface. This interface is supposed to
-# be accessed by -lxnet. In addition -lsocket is used to capture new
-# not-yet-standard interfaces. Someday -lxnet alone should be enough when IPv6
-# inspired new interfaces are part of standards.
-LDLIBS +=       -lxnet -lsocket
+# be accessed by -lxnet.
+LDLIBS +=       -lxnet
 
 # these #defines are required to use UNIX 98 interfaces
 _D_UNIX98_EXTN= -D_XOPEN_SOURCE=500 -D__EXTENSIONS__
 
 $(OBJS)         := CPPFLAGS +=  $(_D_UNIX98_EXTN)