mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
Fixing the paths of uclibc libpthread
svn path=/nixpkgs/trunk/; revision=34229
This commit is contained in:
parent
3729f9ce5e
commit
1402a2ebc3
@ -84,7 +84,8 @@ stdenv.mkDerivation {
|
||||
mkdir -p $out
|
||||
make PREFIX=$out VERBOSE=1 install ${crossMakeFlag}
|
||||
(cd $out/include && ln -s $(ls -d ${linuxHeaders}/include/* | grep -v "scsi$") .)
|
||||
sed -i s@/lib/@$out/lib/@g $out/lib/libc.so
|
||||
# libpthread.so may not exist, so I do || true
|
||||
sed -i s@/lib/@$out/lib/@g $out/lib/libc.so $out/lib/libpthread.so || true
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
|
Loading…
Reference in New Issue
Block a user