summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mc
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2019-11-26 23:08:29 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-04 12:30:58 +0000
commit8f21b6d0d5d43c81c9cd992af94daf4e966dac76 (patch)
tree8e1e62f1a7a82bb0f99c2e49c20a1862813e7629 /meta/recipes-extended/mc
parent1fb4aa42f9c3b9738d78d198ad695fe4fcb6dc2f (diff)
downloadpoky-8f21b6d0d5d43c81c9cd992af94daf4e966dac76.tar.gz
libcap-ng: add pthread library if header is found
If the pthread.h header is found, make sure library containing "pthread_atfork" is added to the list of libraries against which to link. On some hosts (e.g. openSUSE 15.1) "-lpthread" needs to be explicitly added in order for the code to compile correctly. We already had a workaround for this for native builds, but using some external toolchains, we can be bit by this for the target recipe as well. Most of this is courtesy Trevor Woerner <twoerner@gmail.com>, via his patch at stevegrubb/libcap-ng#10, the last thanks to Khem Raj. (From OE-Core rev: 8d84fdea1c26ed5f8f8261c89070df44da3f1855) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mc')
0 files changed, 0 insertions, 0 deletions