mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
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@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 592e9f26cc)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
f751cb4ed6
commit
17f682bc25
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user