We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e862dc commit c1ef87eCopy full SHA for c1ef87e
1 file changed
pkgs/stdenv/linux/bootstrap-tools/scripts/unpack-bootstrap-tools.sh
@@ -29,8 +29,9 @@ for i in $out/bin/* $out/libexec/gcc/*/*/*; do
29
./patchelf --set-interpreter $LD_BINARY --set-rpath $out/lib --force-rpath "$i"
30
done
31
32
+# With glibc-2.34 the librt so-file is named a bit differently and doesn't need patchelfing.
33
for i in $out/lib/librt-*.so $out/lib/libpcre*; do
- if [ -L "$i" ]; then continue; fi
34
+ if [ -L "$i" ] || [ ! -e "$i" ]; then continue; fi
35
echo patching "$i"
36
$out/bin/patchelf --set-rpath $out/lib --force-rpath "$i"
37
0 commit comments