mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-08 06:31:56 +00: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
(cherry picked from commit 8e75477abd)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
7da3a022eb
commit
d8d15d1a6e
+2
-1
@@ -823,7 +823,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