glibc: also create backwards-compat symlinks for libdl and libutil

This fixes at least the openssl build.
This commit is contained in:
Maximilian Bosch 2021-08-24 12:38:20 +02:00
parent 49028fb110
commit 9fe34ccfbe
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -127,6 +127,8 @@ callPackage ./common.nix { inherit stdenv; } {
# this doesn't work.
ln -sf $out/lib/libpthread.so.0 $out/lib/libpthread.so
ln -sf $out/lib/librt.so.1 $out/lib/librt.so
ln -sf $out/lib/libdl.so.2 $out/lib/libdl.so
ln -sf $out/lib/libutil.so.1 $out/lib/libutil.so
''
# For some reason these aren't stripped otherwise and retain reference
# to bootstrap-tools; on cross-arm this stripping would break objects.