Merge pull request #28557 from obsidiansystems/binutils-wrapper
Binutils-wrapper: Init by refactoring out of cc-wrapper
This commit is contained in:
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
for f in $out/bin/*; do
|
||||
if isELF "$f"; then
|
||||
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$f"
|
||||
patchelf --set-interpreter "$(cat $NIX_BINUTILS/nix-support/dynamic-linker)" "$f"
|
||||
patchelf --set-rpath "$out/lib" "$f"
|
||||
fi
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user