[pulseaudio-commits] src/Makefile.am
Colin Guthrie
colin at kemper.freedesktop.org
Mon Nov 10 10:19:52 PST 2014
src/Makefile.am | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 5445d17c3697334c6ad73bc80bc5eb7ec1364445
Author: Mauro Guerrera <mauroguerrera92 at gmail.com>
Date: Mon Nov 10 18:15:08 2014 +0000
build-sys: Fix daemon linking when building with systemd-daemon support
Seems that after commit 467b4b9be systemd usage has been added into
src/daemon/main.c but there is no link for the corresponding
library in the final pulseaudio binary.
This might be missed in some build systemd due to overlinking,
but it's correct to add this in here explicitly
Signed-off-by: Colin Guthrie <colin at mageia.org>
diff --git a/src/Makefile.am b/src/Makefile.am
index a4a66c5..3cab31f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -171,6 +171,11 @@ else
pulseaudio_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(IMMEDIATE_LDFLAGS) -dlopen force $(foreach f,$(PREOPEN_LIBS),-dlopen $(f))
endif
+if HAVE_SYSTEMD_DAEMON
+pulseaudio_CFLAGS += $(SYSTEMD_FLAGS) $(SYSTEMDDAEMON_FLAGS)
+pulseaudio_LDFLAGS += $(SYSTEMD_LIBS) $(SYSTEMDDAEMON_LIBS)
+endif
+
###################################
# Utility programs #
###################################
More information about the pulseaudio-commits
mailing list