forked from mirrors/nixpkgs
GCC 4.5: Add `-L${libpthread}/lib' unconditionally on GNU.
svn path=/nixpkgs/trunk/; revision=22585
This commit is contained in:
parent
4301f209c9
commit
83335bda50
|
@ -171,7 +171,7 @@ stdenv.mkDerivation ({
|
|||
|
||||
echo "augmenting \`LIB_SPEC' in \`${config_h}' for libpthread at \`${pthreadLib}'..."
|
||||
sed -i "${config_h}" \
|
||||
-es'|-lpthread|-L${pthreadLib}/lib -lpthread|g'
|
||||
-es'|LIB_SPEC *"\(.*\)$|LIB_SPEC "-L${pthreadLib}/lib \1|g'
|
||||
''
|
||||
else null;
|
||||
|
||||
|
|
Loading…
Reference in a new issue