[pulseaudio-discuss] [PATCH] Makefile: Make sure pulseaudio daemon links to systemd libraries
David Henningsson
david.henningsson at canonical.com
Fri Nov 7 00:56:58 PST 2014
Otherwise build might fail (missing sd_listen_fds symbol).
Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
src/Makefile.am | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/Makefile.am b/src/Makefile.am
index a4a66c5..859d418 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -171,6 +171,12 @@ 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 #
###################################
--
1.9.1
More information about the pulseaudio-discuss
mailing list