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
This commit is contained in:
Ronny Chevalier 2014-06-21 22:07:09 +02:00 committed by Tom Gundersen
parent aac5ad0d25
commit 8e75477abd

View File

@ -837,7 +837,8 @@ nodist_libsystemd_shared_la_SOURCES = \
libsystemd_shared_la_CFLAGS = \
$(AM_CFLAGS) \
$(SECCOMP_CFLAGS)
$(SECCOMP_CFLAGS) \
-pthread
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \