diff options
author | Ioan-Adrian Ratiu <adrian.ratiu@ni.com> | 2017-08-24 15:40:10 +0300 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-09-13 17:16:28 -0700 |
commit | 2130b25c677335f3cb160304133b7e4f14afa5ab (patch) | |
tree | ed3a9eebe1451f9160560eef15927b4e77b01e57 /contrib | |
parent | 44af8be65f2f1969df006eec08040f5ff81df790 (diff) | |
download | meta-openembedded-2130b25c677335f3cb160304133b7e4f14afa5ab.tar.gz |
openldap: fix native LDFLAGS build error
LDFLAGS += "-pthread" adds the flag both for native and target builds,
however the openldap-native build overwrites the variable inside
native.bbclass causing "undefined reference to `pthread_getspecific'"
and other linker errors.
Change the append to happen after parsing by using the override
syntax and thus make sure it executes after native.bbclass (bitbake -e
reports pre-expansion value "${BUILD_LDFLAGS} -pthread").
Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu@ni.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 9d06ee2622bf2a7496b3e63a355f849e8496cacb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions