[systemd-devel] [PATCH 1/4] build-sys: add -pthread flag for libsystemd-shared
Tom Gundersen
teg at jklm.no
Sat Jun 21 15:41:13 PDT 2014
Applied all four. Thanks!
Cheers,
Tom
On Sat, Jun 21, 2014 at 10:07 PM, Ronny Chevalier
<chevalier.ronny at gmail.com> wrote:
> src/shared/async.c uses pthread so it will fail at link time if we link
> only to libsystemd-shared and use async
> ---
> Makefile.am | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile.am b/Makefile.am
> index c7653ea..00db82d 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -837,7 +837,8 @@ nodist_libsystemd_shared_la_SOURCES = \
>
> libsystemd_shared_la_CFLAGS = \
> $(AM_CFLAGS) \
> - $(SECCOMP_CFLAGS)
> + $(SECCOMP_CFLAGS) \
> + -pthread
>
> # ------------------------------------------------------------------------------
> noinst_LTLIBRARIES += \
> --
> 2.0.0
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
More information about the systemd-devel
mailing list