GCC 4.5: Add `-L${libpthread}/lib' unconditionally on GNU.

svn path=/nixpkgs/trunk/; revision=22585
This commit is contained in:
Ludovic Courtès 2010-07-13 18:06:17 +00:00
parent 4301f209c9
commit 83335bda50

View file

@ -171,7 +171,7 @@ stdenv.mkDerivation ({
echo "augmenting \`LIB_SPEC' in \`${config_h}' for libpthread at \`${pthreadLib}'..." echo "augmenting \`LIB_SPEC' in \`${config_h}' for libpthread at \`${pthreadLib}'..."
sed -i "${config_h}" \ sed -i "${config_h}" \
-es'|-lpthread|-L${pthreadLib}/lib -lpthread|g' -es'|LIB_SPEC *"\(.*\)$|LIB_SPEC "-L${pthreadLib}/lib \1|g'
'' ''
else null; else null;