mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge pull request #98174 from thiagokokada/fix-dart2native
dart: Fix dart2native by patching all ELFs
This commit is contained in:
commit
c2715f436d
@ -77,9 +77,7 @@ stdenv.mkDerivation {
|
||||
mkdir -p $out
|
||||
cp -R * $out/
|
||||
echo $libPath
|
||||
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath $libPath \
|
||||
$out/bin/dart
|
||||
find $out/bin -executable -type f -exec patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) {} \;
|
||||
'';
|
||||
|
||||
libPath = makeLibraryPath [ stdenv.cc.cc ];
|
||||
|
Loading…
Reference in New Issue
Block a user