[systemd-devel] [PATCH 1/4] build-sys: add -pthread flag for libsystemd-shared
Ronny Chevalier
chevalier.ronny at gmail.com
Sat Jun 21 13:07:09 PDT 2014
src/shared/async.c uses pthread so it will fail at link time if we link
only to libsystemd-shared and use async
---
Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index c7653ea..00db82d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -837,7 +837,8 @@ nodist_libsystemd_shared_la_SOURCES = \
libsystemd_shared_la_CFLAGS = \
$(AM_CFLAGS) \
- $(SECCOMP_CFLAGS)
+ $(SECCOMP_CFLAGS) \
+ -pthread
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
--
2.0.0
More information about the systemd-devel
mailing list