Merge pull request #229289 from wegank/loongarch64-cross-bootstrap
pkgsCross.loongarch64-linux.freshBootstrapTools.bootstrapFiles: fix build
This commit is contained in:
commit
658f507622
1 changed files with 6 additions and 1 deletions
|
@ -44,7 +44,10 @@ in with pkgs; rec {
|
|||
};
|
||||
|
||||
build =
|
||||
|
||||
let
|
||||
# ${libc.src}/sysdeps/unix/sysv/linux/loongarch/lp64/libnsl.abilist does not exist!
|
||||
withLibnsl = !stdenv.hostPlatform.isLoongArch64;
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = "stdenv-bootstrap-tools";
|
||||
|
||||
|
@ -69,7 +72,9 @@ in with pkgs; rec {
|
|||
cp -d ${libc.out}/lib/libdl*.so* $out/lib
|
||||
cp -d ${libc.out}/lib/librt*.so* $out/lib
|
||||
cp -d ${libc.out}/lib/libpthread*.so* $out/lib
|
||||
'' + lib.optionalString withLibnsl ''
|
||||
cp -d ${libc.out}/lib/libnsl*.so* $out/lib
|
||||
'' + ''
|
||||
cp -d ${libc.out}/lib/libutil*.so* $out/lib
|
||||
cp -d ${libc.out}/lib/libnss*.so* $out/lib
|
||||
cp -d ${libc.out}/lib/libresolv*.so* $out/lib
|
||||
|
|
Loading…
Reference in a new issue