* [PATCH] libcap-ng: undefined reference to `pthread_atfork'
@ 2019-10-25 20:20 Trevor Woerner
2019-10-26 9:03 ` Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Trevor Woerner @ 2019-10-25 20:20 UTC (permalink / raw)
To: openembedded-core
Some hosts need -lpthread in order to link properly (e.g. openSUSE 15.1).
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb b/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb
index 6e6de45494..01ea9a1490 100644
--- a/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb
+++ b/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb
@@ -3,6 +3,7 @@ require libcap-ng.inc
inherit lib_package autotools
EXTRA_OECONF += "--without-python --without-python3"
+LDFLAGS_append_class-native = " -lpthread"
BBCLASSEXTEND = "native nativesdk"
--
2.23.0.37.g745f681289
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] libcap-ng: undefined reference to `pthread_atfork'
2019-10-25 20:20 [PATCH] libcap-ng: undefined reference to `pthread_atfork' Trevor Woerner
@ 2019-10-26 9:03 ` Khem Raj
2019-10-28 3:16 ` Trevor Woerner
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2019-10-26 9:03 UTC (permalink / raw)
To: Trevor Woerner; +Cc: Patches and discussions about the oe-core layer
On Fri, Oct 25, 2019 at 9:20 PM Trevor Woerner <twoerner@gmail.com> wrote:
>
> Some hosts need -lpthread in order to link properly (e.g. openSUSE 15.1).
>
> Signed-off-by: Trevor Woerner <twoerner@gmail.com>
> ---
> meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb b/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb
> index 6e6de45494..01ea9a1490 100644
> --- a/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb
> +++ b/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb
> @@ -3,6 +3,7 @@ require libcap-ng.inc
> inherit lib_package autotools
>
> EXTRA_OECONF += "--without-python --without-python3"
> +LDFLAGS_append_class-native = " -lpthread"
Please use -pthread instead of -lpthread
>
> BBCLASSEXTEND = "native nativesdk"
>
> --
> 2.23.0.37.g745f681289
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] libcap-ng: undefined reference to `pthread_atfork'
2019-10-26 9:03 ` Khem Raj
@ 2019-10-28 3:16 ` Trevor Woerner
0 siblings, 0 replies; 3+ messages in thread
From: Trevor Woerner @ 2019-10-28 3:16 UTC (permalink / raw)
To: Khem Raj; +Cc: Patches and discussions about the oe-core layer
On Sat 2019-10-26 @ 10:03:58 AM, Khem Raj wrote:
> > EXTRA_OECONF += "--without-python --without-python3"
> > +LDFLAGS_append_class-native = " -lpthread"
>
> Please use -pthread instead of -lpthread
Okay, v2 sent.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-28 3:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-25 20:20 [PATCH] libcap-ng: undefined reference to `pthread_atfork' Trevor Woerner
2019-10-26 9:03 ` Khem Raj
2019-10-28 3:16 ` Trevor Woerner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox