]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix all-liblinks when symlinks are unsupported 1151/head
authorGreg Hudson <ghudson@mit.edu>
Wed, 6 Jan 2021 15:44:23 +0000 (10:44 -0500)
committerGreg Hudson <ghudson@mit.edu>
Thu, 7 Jan 2021 06:41:28 +0000 (01:41 -0500)
commitfe2a9b6254e86a761dd7f79671ee0fc8a754edcd
treeefc171223a0705ea6189226cbd41f14220b0311b
parentfd005a1967510004c9197f7da9f1d85ee81f4734
Fix all-liblinks when symlinks are unsupported

After building libraries, we make links to a central directory so that
programs and other libraries can be built against them.  These links
were changed from symlinks to hard links by commit
24311fa2b4b95597695560144313debe0211e968, and were reverted to
symlinks by commit 6e0bfbc787509dbaac4947a76e07a2bd6ba7956d.

As part of the first commit, the links to .so and .so.X were made
within the central directory instead of directly to the library build
directory.  However, the dependencies were not updated to ensure that
the link target is created before the link, so when $(LN_S) is "cp
-pR" and not "ln -s", the build steps could be executed out of order
and fail.  This part of the first commit was not reverted in the
second commit.  Revert it now so that the dependencies match the
links.

ticket: 8976
src/config/lib.in