mirror_zfs/cmd
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
..
arc_summary Fixes for make dist 2020-06-26 14:20:02 -07:00
arcstat arcstat: add 'avail', fix 'free' 2020-06-26 18:05:28 -07:00
dbufstat Fix check for sed --in-place 2020-06-24 18:19:59 -07:00
fsck_zfs Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
mount_zfs Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
raidz_test Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
vdev_id Fix typos in cmd/ 2019-08-30 09:43:30 -07:00
zdb Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
zed Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
zfs Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
zfs_ids_to_path Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
zgenhostid bash scripts: use /usr/bin/env for bash shebangs 2020-02-10 13:13:46 -08:00
zhack Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
zinject Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
zpool Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
zstream Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
zstreamdump Minor zstream redup command fixes 2020-04-10 21:10:09 -07:00
ztest Use abs_top_builddir when referencing libraries 2020-07-10 14:26:32 -07:00
zvol_id OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
zvol_wait zvol_wait should ignore redacted zvols 2019-11-06 10:51:19 -08:00
Makefile.am Small program that converts a dataset id and an object id to a path 2020-05-20 10:05:33 -07:00