[oe-commits] [meta-openembedded] 79/129: libdbus-c++: Add -pthread to linker flags
git at git.openembedded.org
git at git.openembedded.org
Mon Sep 11 16:11:28 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch pyro-next
in repository meta-openembedded.
commit a2a42845e59206893c2376164209f6ef6cf3fa50
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon Jul 10 21:54:21 2017 -0700
libdbus-c++: Add -pthread to linker flags
It uses symbols from libpthread e.g. pthread_mutexattr_init and pthread_mutexattr_settype
but does not link with pthreads, gold is strict about it and calls out with an error
../src/.libs/libdbus-c++-1.so: error: undefined reference to 'pthread_mutexattr_init'
../src/.libs/libdbus-c++-1.so: error: undefined reference to 'pthread_mutexattr_settype'
Therefore correct the linker cmdline
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
(cherry picked from commit 592e9f26cca4944adf4e534af5794680f07d098c)
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb b/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb
index 4cc1333..a6d8b86 100644
--- a/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb
+++ b/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb
@@ -21,6 +21,7 @@ SRC_URI[sha256sum] = "bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385
inherit autotools pkgconfig
EXTRA_OECONF = "--disable-ecore --disable-examples --disable-tests"
+LDFLAGS += "-pthread"
PACKAGE_BEFORE_PN = "${PN}-tools"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list