mirror_zfs/cmd/zed
Arvind Sankar 3e597dee11 Use abs_top_builddir when referencing libraries
libtool stores absolute paths in the dependency_libs component of the
.la files. If the Makefile for a dependent library refers to the
libraries by relative path, some libraries end up duplicated on the link
command line.

As an example, libzfs specifies libzfs_core, libnvpair and libuutil as
dependencies to be linked in. The .la file for libzfs_core also
specifies libnvpair, but using an absolute path, with the result that
libnvpair is present twice in the linker command line for producing
libzfs.

While the only thing this causes is to slightly slow down the linking,
we can avoid it by using absolute paths everywhere, including for
convenience libraries just for consistency.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu>
Closes #10538
2020-07-10 14:26:32 -07:00
..
agents Add device rebuild feature 2020-07-03 11:05:50 -07:00
zed.d Add device rebuild feature 2020-07-03 11:05:50 -07:00
.gitignore Initial implementation of zed (ZFS Event Daemon) 2014-04-02 13:10:03 -07:00
Makefile.am Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
zed_conf.c zed additional features 2020-06-22 09:53:34 -07:00
zed_conf.h zed additional features 2020-06-22 09:53:34 -07:00
zed_disk_event.c Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
zed_disk_event.h Bring over illumos ZFS FMA logic -- phase 1 2016-09-01 11:39:45 -07:00
zed_event.c zed additional features 2020-06-22 09:53:34 -07:00
zed_event.h zed additional features 2020-06-22 09:53:34 -07:00
zed_exec.c Add include files for prototypes 2020-06-18 12:21:25 -07:00
zed_exec.h Add include files for prototypes 2020-06-18 12:21:25 -07:00
zed_file.c Add include files for prototypes 2020-06-18 12:21:25 -07:00
zed_file.h Update ZED copyright boilerplate 2015-05-11 15:07:00 -07:00
zed_log.c Add missing includes to zed_log.c 2017-04-12 08:57:25 -07:00
zed_log.h Update ZED copyright boilerplate 2015-05-11 15:07:00 -07:00
zed_strings.c Mark functions as static 2020-06-18 12:20:38 -07:00
zed_strings.h Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
zed.c zed additional features 2020-06-22 09:53:34 -07:00
zed.h Update ZED copyright boilerplate 2015-05-11 15:07:00 -07:00