summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorRonny Chevalier <chevalier.ronny@gmail.com>2014-06-21 22:07:09 +0200
committerTom Gundersen <teg@jklm.no>2014-06-22 00:36:19 +0200
commit8e75477abdd838d3beddc5fd1c6a7707b22748b6 (patch)
tree5ff1769deaf02fa5dc99148459ad26b540fdb6ac /Makefile.am
parentaac5ad0d25adde34e73ae1e696834c91caa661c9 (diff)
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
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index c7653ea23c..00db82dbb7 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 += \