diff options
author | Tyler Hall <tylerwhall@gmail.com> | 2014-01-24 23:14:03 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-30 15:01:09 +0000 |
commit | 56c21bd1789844a04b2c2eaf01176ba7634ee520 (patch) | |
tree | 8e85e483a3c448c0c8a5e8fe8b01bc8903003803 | |
parent | 600dcd9d3827683371c7a695422636c805305beb (diff) | |
download | poky-56c21bd1789844a04b2c2eaf01176ba7634ee520.tar.gz |
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>
-rw-r--r-- | meta/recipes-support/db/db_5.3.21.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/db/db_5.3.21.bb b/meta/recipes-support/db/db_5.3.21.bb index 8ec887007a..caf6890261 100644 --- a/meta/recipes-support/db/db_5.3.21.bb +++ b/meta/recipes-support/db/db_5.3.21.bb | |||
@@ -63,7 +63,7 @@ FILES_SOLIBSDEV = "${libdir}/libdb.so ${libdir}/libdb_cxx.so" | |||
63 | # All the --disable-* options replace --enable-smallbuild, which breaks a bunch of stuff (eg. postfix) | 63 | # All the --disable-* options replace --enable-smallbuild, which breaks a bunch of stuff (eg. postfix) |
64 | DB5_CONFIG ?= "--enable-o_direct --disable-cryptography --disable-queue --disable-replication --disable-verify --disable-compat185 --disable-sql" | 64 | DB5_CONFIG ?= "--enable-o_direct --disable-cryptography --disable-queue --disable-replication --disable-verify --disable-compat185 --disable-sql" |
65 | 65 | ||
66 | EXTRA_OECONF = "${DB5_CONFIG} --enable-shared --enable-cxx" | 66 | EXTRA_OECONF = "${DB5_CONFIG} --enable-shared --enable-cxx --with-sysroot" |
67 | 67 | ||
68 | # Override the MUTEX setting here, the POSIX library is | 68 | # Override the MUTEX setting here, the POSIX library is |
69 | # the default - "POSIX/pthreads/library". | 69 | # the default - "POSIX/pthreads/library". |