diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-01-12 15:45:34 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-01-12 15:45:34 +0100 |
commit | 281e2da7f14eca57104dbd3f7da39506011729a8 (patch) | |
tree | 6612dbbe6236b3871a9a436f5c90b07df5c913d9 /dnssd | |
parent | aca6b3d42409234a19e2910443d511328c0b025a (diff) | |
download | tdelibs-281e2da7f14eca57104dbd3f7da39506011729a8.tar.gz tdelibs-281e2da7f14eca57104dbd3f7da39506011729a8.zip |
Fix building with avahi support
+ Avahi detection was not performed at all
+ Added missing avahi-client detection
+ Fixed FTBFS in avahi related code
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'dnssd')
-rw-r--r-- | dnssd/CMakeLists.txt | 2 | ||||
-rw-r--r-- | dnssd/publicservice.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dnssd/CMakeLists.txt b/dnssd/CMakeLists.txt index 01359672f..844ee16f4 100644 --- a/dnssd/CMakeLists.txt +++ b/dnssd/CMakeLists.txt @@ -44,7 +44,7 @@ set( ${target}_SRCS tde_add_library( ${target} SHARED AUTOMOC SOURCES ${${target}_SRCS} VERSION 1.0.0 - LINK tdecore-shared + LINK tdecore-shared ${AVAHI_TQT_LIBRARIES} ${AVAHI_CLIENT_LIBRARIES} DEPENDENCIES tdeconfig_compiler DESTINATION ${LIB_INSTALL_DIR} ) diff --git a/dnssd/publicservice.cpp b/dnssd/publicservice.cpp index 0313fd17c..05b891258 100644 --- a/dnssd/publicservice.cpp +++ b/dnssd/publicservice.cpp @@ -56,7 +56,7 @@ class PublicServicePrivate public: PublicServicePrivate() : m_published(false), m_running(false), m_collision(false) #ifdef HAVE_DNSSD - , m_group(false) + , m_group(0) #endif {} bool m_published; |