Fix build when we have tinyalsa but not its header

This commit is contained in:
Xavier Claessens 2018-12-18 15:25:58 -05:00 committed by Xavier Claessens
parent fa3ae13250
commit f49da047dc

View file

@ -3,7 +3,7 @@ if get_option('tinyalsa').disabled()
endif
have_tinyalsa = cc.has_header ('tinyalsa/asoundlib.h')
if not have_tinyalsa
if have_tinyalsa
tinyalsa_dep = cc.find_library('tinyalsa', required: false)
have_tinyalsa = tinyalsa_dep.found()
endif