diff --git a/pkgs/development/libraries/glibc/builder.sh b/pkgs/development/libraries/glibc/builder.sh index 177e8482c90a..9d2480d99994 100644 --- a/pkgs/development/libraries/glibc/builder.sh +++ b/pkgs/development/libraries/glibc/builder.sh @@ -52,6 +52,11 @@ postInstall() { fi rm $out/etc/ld.so.cache (cd $out/include && ln -s $kernelHeaders/include/* .) || exit 1 + + # Workaround for the wrong getting installed. This + # appears to be a regression: + # http://www.mail-archive.com/debian-glibc@lists.debian.org/msg31543.html + cp linuxthreads/semaphore.h $out/include }