mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +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
|
mkdir -p $out
|
||||||
cp -R * $out/
|
cp -R * $out/
|
||||||
echo $libPath
|
echo $libPath
|
||||||
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
find $out/bin -executable -type f -exec patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) {} \;
|
||||||
--set-rpath $libPath \
|
|
||||||
$out/bin/dart
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
libPath = makeLibraryPath [ stdenv.cc.cc ];
|
libPath = makeLibraryPath [ stdenv.cc.cc ];
|
||||||
|
Loading…
Reference in New Issue
Block a user