Simplify and fix Avahi conditionals
Change-Id: Ied30c619804239044b935382d580dcb86bfb8b11
This commit is contained in:
parent
4acf41db11
commit
c852fa1121
1 changed files with 6 additions and 20 deletions
|
@ -71,28 +71,14 @@ $(eval $(call gb_CppunitTest_use_system_darwin_frameworks,sd_uimpress,\
|
|||
))
|
||||
endif
|
||||
|
||||
ifeq ($(OS), LINUX)
|
||||
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 \
|
||||
dbus \
|
||||
boost_headers \
|
||||
gtk \
|
||||
dbus \
|
||||
$(if $(ENABLE_AVAHI), \
|
||||
avahi \
|
||||
) \
|
||||
))
|
||||
endif
|
||||
|
||||
$(eval $(call gb_CppunitTest_add_exception_objects,sd_uimpress,\
|
||||
sd/qa/unit/uimpress \
|
||||
|
|
Loading…
Reference in a new issue