summaryrefslogtreecommitdiffstats
path: root/sd/Library_sd.mk
diff options
context:
space:
mode:
authorSiqi <me@siqi.fr>2013-07-26 12:53:19 +0200
committerSiqi <me@siqi.fr>2013-07-26 12:54:48 +0200
commitaf1ce3de97a6c1d583f82558ee18054b7917b03d (patch)
tree7ffb2a0de2e524133859f966454de139f4afc89a /sd/Library_sd.mk
parentouch (diff)
downloadcore-af1ce3de97a6c1d583f82558ee18054b7917b03d.tar.gz
core-af1ce3de97a6c1d583f82558ee18054b7917b03d.zip
add threaded pool support for avahi backward compatibility
As suggested by Avahi maintainer, we should ship threadedpool support with the build since it's not availble to avahi priori to 0.6.3 This keeps the avahi support backward compatible. Change-Id: I70db9d5b3be3fba744e40c9bb183307819b7df4e
Diffstat (limited to 'sd/Library_sd.mk')
-rw-r--r--sd/Library_sd.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk
index 807926fa6994..848442355fbd 100644
--- a/sd/Library_sd.mk
+++ b/sd/Library_sd.mk
@@ -553,6 +553,14 @@ ifeq ($(ENABLE_AVAHI),TRUE)
$(eval $(call gb_Library_add_exception_objects,sd,\
sd/source/ui/remotecontrol/AvahiNetworkService \
))
+
+$(eval $(call gb_Library_add_cobjects,sd,\
+ sd/source/ui/remotecontrol/avahi-common/thread-watch \
+))
+
+$(eval $(call gb_Library_add_libs,sd,\
+ -lpthread \
+))
endif
$(eval $(call gb_Library_add_exception_objects,sd,\