Subject: libtool-2.4.2: patch to accept -stdlib=* as linker flag

From: Titus von Boxberg <[email-masked]>
Date: Sun, 22 Jan 2012 13:22:03 +0100

Hi,

to enable use of clang++ with the new libc++
(or to explicitely select the GNU libstdc++)
libtool should accept and pass the linker flag "-stdlib=*"

Attached is the patch and - as required on the web site + README -
the output of make -k check.
The tests were run on OSX 10.7 with llvm-gcc 4.2

I tested the patch itself by building cppunit
with CXXFLAGS and LDFLAGS set to "-stdlib=libc++".

Regards
Titus