mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
Merge branch 'staging-next' into staging
This commit is contained in:
commit
72c37eddec
895 changed files with 23748 additions and 21115 deletions
|
@ -205,8 +205,9 @@ let
|
|||
# Copy ld manually since it isn't detected correctly
|
||||
cp -pv ${pkgs.stdenv.cc.libc.out}/lib/ld*.so.? $out/lib
|
||||
|
||||
# Copy all of the needed libraries
|
||||
find $out/bin $out/lib -type f | while read BIN; do
|
||||
# Copy all of the needed libraries in a consistent order so
|
||||
# duplicates are resolved the same way.
|
||||
find $out/bin $out/lib -type f | sort | while read BIN; do
|
||||
echo "Copying libs for executable $BIN"
|
||||
for LIB in $(${findLibs}/bin/find-libs $BIN); do
|
||||
TGT="$out/lib/$(basename $LIB)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue