Print this page
12312 fix unused lib dependencies
@@ -20,11 +20,11 @@
#
#
# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2016 Nexenta Systems, Inc.
-# Copyright (c) 2018, Joyent, Inc.
+# Copyright 2020 Joyent, Inc.
# Copyright 2019 Peter Tribble.
#
include ../../Makefile.cmd
@@ -135,11 +135,11 @@
SUNW_ip_anon_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -linetutil
SUNW_bridge_rcm.so := LDLIBS_MODULES += -L$(ROOT)/lib -ldladm -lnvpair
SUNW_mpxio_rcm.so := LDLIBS_MODULES += -ldevinfo
LDLIBS_MODULES += -L$(ROOT)/lib -lrcm -lc
-LDLIBS += -lgen -lelf -lrcm -lnvpair -ldevinfo -lnsl -lsocket
+LDLIBS += -lrcm -lnvpair
SRCS = $(RCM_SRC) $(COMMON_MOD_SRC)
POFILES = $(SRCS:.c=.po)
POFILE = prcm_daemon.po