12 lines
273 B
Bash
12 lines
273 B
Bash
|
source $stdenv/setup
|
||
|
|
||
|
postBuild=postBuild
|
||
|
postBuild () {
|
||
|
glibc=$(cat $NIX_GCC/nix-support/orig-glibc)
|
||
|
find . -type f -perm +100 \
|
||
|
-exec patchelf --interpreter $glibc/lib/ld-linux.so.* \
|
||
|
--set-rpath "$readline/lib:$ncurses/lib" {} \;
|
||
|
}
|
||
|
|
||
|
genericBuild
|