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:
committed by
Tom Gundersen
parent
aac5ad0d25
commit
8e75477abd
+2
-1
@@ -837,7 +837,8 @@ nodist_libsystemd_shared_la_SOURCES = \
|
||||
|
||||
libsystemd_shared_la_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
$(SECCOMP_CFLAGS)
|
||||
$(SECCOMP_CFLAGS) \
|
||||
-pthread
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
noinst_LTLIBRARIES += \
|
||||
|
||||
Reference in New Issue
Block a user