summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-07-25 21:23:55 +0300
committerTor Lillqvist <tml@iki.fi>2013-07-25 21:26:37 +0300
commit4acf41db11a1791c3705712f8a66a1e85094f83d (patch)
tree0d8f1b296f2dd4c0da087e5d70ea0033a1e9f996
parenta7be6a2e89960e753c4ea1d58ded61a99f028fa8 (diff)
Compile AvahiNetworkService.cxx only if Avahi is enabled
Change-Id: Id5db47f9a7dc1d05f5e100b8367ba75ddd1f6dc8
-rw-r--r--sd/Library_sd.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/Library_sd.mk b/sd/Library_sd.mk
index 21a4ab8e0c73..807926fa6994 100644
--- a/sd/Library_sd.mk
+++ b/sd/Library_sd.mk
@@ -549,7 +549,7 @@ $(eval $(call gb_Library_add_objcxxobjects,sd,\
else
-ifeq ($(OS),LINUX)
+ifeq ($(ENABLE_AVAHI),TRUE)
$(eval $(call gb_Library_add_exception_objects,sd,\
sd/source/ui/remotecontrol/AvahiNetworkService \
))