diff options
author | Siqi <me@siqi.fr> | 2013-07-25 17:59:30 +0200 |
---|---|---|
committer | Siqi <me@siqi.fr> | 2013-07-25 18:28:55 +0200 |
commit | d1a6a00ab873111a6ab8eb7c515ddc65473e260a (patch) | |
tree | aa3b9627e782fb428a2c6b90745952436fd774e9 /sd/CppunitTest_sd_uimpress.mk | |
parent | 9a44e90c2c5c19fb310298ed525c2b77f49c97b8 (diff) |
fix for OS where avahi is not present
Change-Id: Ib3e21b786821baa7c3c47755de5125e1de566c39
Diffstat (limited to 'sd/CppunitTest_sd_uimpress.mk')
-rw-r--r-- | sd/CppunitTest_sd_uimpress.mk | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/sd/CppunitTest_sd_uimpress.mk b/sd/CppunitTest_sd_uimpress.mk index c1a66ca5f620..af4b82155b35 100644 --- a/sd/CppunitTest_sd_uimpress.mk +++ b/sd/CppunitTest_sd_uimpress.mk @@ -72,13 +72,21 @@ $(eval $(call gb_CppunitTest_use_system_darwin_frameworks,sd_uimpress,\ endif ifeq ($(OS), LINUX) -$(eval $(call gb_CppunitTest_use_externals,sd_uimpress,\ - boost_headers \ - gtk \ - dbus \ - avahi \ +ifeq ($(ENABLE_AVAHI),TRUE) +$(eval $(call gb_Library_use_externals,sd,\ + boost_headers \ + gtk \ + dbus \ + avahi \ )) else +$(eval $(call gb_Library_use_externals,sd,\ + boost_headers \ + gtk \ + dbus \ +)) +endif +else $(eval $(call gb_CppunitTest_use_externals,sd_uimpress,\ boost_headers \ gtk \ |