From d1c401fe7a637cdea728c8c2860d47c3d1e0efa0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 18 Oct 2013 09:16:55 +0200 Subject: ZeroconfAvahi: integrate into the EventLoop Finally fixes the regression by commit c1f4f1fd. --- Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 67e5b2454..45f257182 100644 --- a/Makefile.am +++ b/Makefile.am @@ -724,7 +724,9 @@ src_mpd_SOURCES += \ src/ZeroconfGlue.cxx src/ZeroconfGlue.hxx if HAVE_AVAHI -src_mpd_SOURCES += src/ZeroconfAvahi.cxx src/ZeroconfAvahi.hxx +src_mpd_SOURCES += \ + src/AvahiPoll.cxx src/AvahiPoll.hxx \ + src/ZeroconfAvahi.cxx src/ZeroconfAvahi.hxx endif if HAVE_BONJOUR @@ -1346,7 +1348,7 @@ test_software_volume_LDADD = \ test_run_avahi_SOURCES = \ src/Log.cxx \ - src/ZeroconfAvahi.cxx \ + src/ZeroconfAvahi.cxx src/AvahiPoll.cxx \ test/ShutdownHandler.cxx test/ShutdownHandler.hxx \ test/run_avahi.cxx test_run_avahi_CPPFLAGS = $(AM_CPPFLAGS) \ @@ -1354,6 +1356,7 @@ test_run_avahi_CPPFLAGS = $(AM_CPPFLAGS) \ test_run_avahi_LDADD = \ libevent.a \ libsystem.a \ + $(GLIB_LIBS) \ $(AVAHI_LIBS) test_run_normalize_SOURCES = test/run_normalize.cxx \ -- cgit v1.2.3