]> git.ipfire.org Git - thirdparty/coreutils.git/commit
maint: propagate DEPENDENCIES to libs in single binary mode
authorPádraig Brady <P@draigBrady.com>
Sun, 14 Mar 2021 22:43:42 +0000 (22:43 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 14 Mar 2021 23:45:46 +0000 (23:45 +0000)
commit90c4ef1f7d21a4df0429f93b43efbe1dc8c572f2
tree075b254956240e7eae11d6c332560cb9bb0a44f7
parent9de1d153f82243aeaaf19b0e5da2345f9b8652e3
maint: propagate DEPENDENCIES to libs in single binary mode

build-aux/gen-single-binary.sh (override_single): A new function
to refactor the existing mappings for dir, vdir, and arch.
This function now also sets the DEPENDENCIES variable so that these
dependencies can be maintained later in the script, where
we now propagate the automake generated $(src_$cmd_DEPENDENCIES)
to our equivalent src_libsinglebin_$cmd_a_DEPENDENCIES.
This will ensure that any required libs are built,
which we require in a following change to cksum that
builds part of it as a separate library.
build-aux/gen-single-binary.sh