[PATCH] Fix detecting ld version with crosstool-NG (to fix symbol exporting)

2012-07-03 Thread Olivier Blin
ld from crosstool-NG reports a version string with an extra version: GNU ld (crosstool-NG 1.13.0) 2.21.1 This made libtool assume that the ld version was the crosstool-NG version (1.13.0) instead of the real ld version (2.21.1). To fix the ld version string, this patch filters out any string betw

resend of "Fix detecting ld version with crosstool-NG"

2012-07-03 Thread Olivier Blin
Compared to the previous version, this patch fixes incorrect square brackets escaping and error redirection. This message and any attachments herein are confidential, intended solely for the addressees and are SoftAtHome's ownership. Any unauthorized use or dissemination is prohibited. If you are

[PATCH] Fix detecting ld version with crosstool-NG (to fix symbol exporting)

2012-07-03 Thread Olivier Blin
ld from crosstool-NG reports a version string with an extra version: GNU ld (crosstool-NG 1.13.0) 2.21.1 This made libtool assume that the ld version was the crosstool-NG version (1.13.0) instead of the real ld version (2.21.1). To fix the ld version string, this patch filters out any string betw