From: Ronny Chevalier Date: Sat, 21 Jun 2014 20:07:09 +0000 (+0200) Subject: build-sys: add -pthread flag for libsystemd-shared X-Git-Tag: v215~232 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=8e75477abdd838d3beddc5fd1c6a7707b22748b6;ds=inline build-sys: add -pthread flag for libsystemd-shared src/shared/async.c uses pthread so it will fail at link time if we link only to libsystemd-shared and use async --- diff --git a/Makefile.am b/Makefile.am index c7653ea23..00db82dbb 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 += \