forked from mirrors/nixpkgs
* Make a symlink "lib64" to "lib" to fix ldd (which looks for the
dynamic linker in lib64 on x86_64). (NIXOS-54) svn path=/nixpkgs/trunk/; revision=8741
This commit is contained in:
parent
cbc8eee7ac
commit
bfbdd69b2f
|
@ -56,6 +56,12 @@ postInstall() {
|
|||
# appears to be a regression:
|
||||
# http://www.mail-archive.com/debian-glibc@lists.debian.org/msg31543.html
|
||||
cp ../$sourceRoot/linuxthreads/semaphore.h $out/include
|
||||
|
||||
# Fix for NIXOS-54 (ldd not working on x86_64). Make a symlink
|
||||
# "lib64" to "lib".
|
||||
if test -n "$is64bit"; then
|
||||
ln -s lib $out/lib64
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -21,6 +21,8 @@ stdenv.mkDerivation {
|
|||
|
||||
inherit kernelHeaders installLocales;
|
||||
|
||||
inherit (stdenv) is64bit;
|
||||
|
||||
# `--with-tls --without-__thread' enables support for TLS but causes
|
||||
# it not to be used. Required if we don't want to barf on 2.4
|
||||
# kernels. Or something.
|
||||
|
|
Loading…
Reference in a new issue