db: Fix libtool linking against local libstdc++.so
authorTyler Hall <tylerwhall@gmail.com>
Sat, 25 Jan 2014 04:14:03 +0000 (23:14 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Jan 2014 15:01:09 +0000 (15:01 +0000)
commit61869b4d73bcc56e981f7f0c3f9355742f0ff6c5
treecbc8c94d26d263511d6e1a81f8da986c5d746c12
parent791e61f2c525d31c0870a617875801cd5f1c0172
db: Fix libtool linking against local libstdc++.so

Building the C++ bindings in a484b35b818768487ff27cf06b8c5d4e128126af
introduced this error on systems with /usr/lib/libstdc++.so present:

    /usr/lib/libstdc++.so: file not recognized: File format not recognized

The shipped libtool is sysroot aware, so pass --with-sysroot so it will
extract the sysroot from the compiler.

(From OE-Core rev: db8a2c29b936e5252970c85def927d9cc56a8376)

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/db/db_5.3.21.bb