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

(cherry picked from commit 8e75477abd)
This commit is contained in:
Ronny Chevalier
2014-06-22 23:57:25 -04:00
committed by Zbigniew Jędrzejewski-Szmek
parent 7da3a022eb
commit d8d15d1a6e
+2 -1
View File
@@ -823,7 +823,8 @@ nodist_libsystemd_shared_la_SOURCES = \
libsystemd_shared_la_CFLAGS = \
$(AM_CFLAGS) \
$(SECCOMP_CFLAGS)
$(SECCOMP_CFLAGS) \
-pthread
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \