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