diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-05-24 21:44:34 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-05-24 21:44:34 +0000 |
commit | 1402a2ebc311e4d99ec6bc42eb4c53aeb4bae4d7 (patch) | |
tree | b5924dd4c79bbf7308e9f6b5a98524569ff70a7b | |
parent | 3729f9ce5ea25fbbe33f63277ebafca1c62f4683 (diff) |
Fixing the paths of uclibc libpthread
svn path=/nixpkgs/trunk/; revision=34229
-rw-r--r-- | pkgs/os-specific/linux/uclibc/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/uclibc/default.nix b/pkgs/os-specific/linux/uclibc/default.nix index d97b4f8a1d79..1ad392ad6fab 100644 --- a/pkgs/os-specific/linux/uclibc/default.nix +++ b/pkgs/os-specific/linux/uclibc/default.nix @@ -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 = { |