pkgs/development/libraries/glibc-2.5: patch the 'configure' script to support ld 2.21 or later

This patch fixes a flawed shell expression that attempts (but fails) to ensure
that GNU ld version 2.13 or later is available.

svn path=/nixpkgs/trunk/; revision=25382
This commit is contained in:
Peter Simons 2011-01-04 13:11:57 +00:00
parent 12676e68d8
commit 1805fc5229

View File

@ -19,6 +19,9 @@ preConfigure() {
--replace "@PWD@" "pwd"
done
# Fix shell code that tries to determine whether GNU ld is recent enough.
substituteInPlace configure --replace '2.1[3-9]*)' '2.1[3-9]*|2.[2-9][0-9]*)'
mkdir ../build
cd ../build