Print this page
12312 fix unused lib dependencies
*** 20,30 ****
#
#
# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2016 Nexenta Systems, Inc.
! # Copyright (c) 2018, Joyent, Inc.
# Copyright 2019 Peter Tribble.
#
include ../../Makefile.cmd
--- 20,30 ----
#
#
# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
# Copyright 2016 Nexenta Systems, Inc.
! # Copyright 2020 Joyent, Inc.
# Copyright 2019 Peter Tribble.
#
include ../../Makefile.cmd
*** 135,145 ****
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
SRCS = $(RCM_SRC) $(COMMON_MOD_SRC)
POFILES = $(SRCS:.c=.po)
POFILE = prcm_daemon.po
--- 135,145 ----
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 += -lrcm -lnvpair
SRCS = $(RCM_SRC) $(COMMON_MOD_SRC)
POFILES = $(SRCS:.c=.po)
POFILE = prcm_daemon.po