mirror of
https://github.com/systemd/systemd.git
synced 2024-12-17 22:23:39 +08:00
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:
parent
aac5ad0d25
commit
8e75477abd
@ -837,7 +837,8 @@ nodist_libsystemd_shared_la_SOURCES = \
|
||||
|
||||
libsystemd_shared_la_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
$(SECCOMP_CFLAGS)
|
||||
$(SECCOMP_CFLAGS) \
|
||||
-pthread
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
noinst_LTLIBRARIES += \
|
||||
|
Loading…
Reference in New Issue
Block a user