]> git.ipfire.org Git - thirdparty/coreutils.git/commit
build: support --enable-single-binary=hardlinks
authorPádraig Brady <P@draigBrady.com>
Tue, 18 Nov 2025 15:30:26 +0000 (15:30 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 19 Nov 2025 14:38:27 +0000 (14:38 +0000)
commit59d9f05ef766734662e97bab7e27c397d1132408
tree88661235f583c6398f28009861e40dfbe7bd27b9
parent0f695854d3e6e1d15f5619faa8e57bec58126300
build: support --enable-single-binary=hardlinks

* Makefile.am: Use ln rather than $(LN_S) for hardlinks.
* configure.ac: Accept --enable-single-binary=hardlinks.
* man/local.mk: In hardlink mode, explicitly add the
hardlink creation rule to mandeps.  Given the automake
generated dependency chain, this ensures that the hardlinks
are created _after_ the multicall binary, with `make all`
or `make check` etc.
* src/local.mk: Define the new src/coreutils_hardlinks rule,
and only depend on src/coreutils_{symlinks,shebangs} if
in those modes, so that hardlinks are created _after_
the multicall binary, and other link types before.
* NEWS: Mention the new feature.
Addresses https://github.com/coreutils/coreutils/issues/129
Makefile.am
NEWS
configure.ac
man/local.mk
src/local.mk