Fix link_args for mDNSResponder on non-darwin platforms
This commit is contained in:
parent
1862a98a44
commit
772681f23d
@ -31,7 +31,11 @@ if zeroconf_option == 'bonjour'
|
|||||||
error('dns_sd.h not found')
|
error('dns_sd.h not found')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if is_darwin
|
||||||
bonjour_dep = declare_dependency(link_args: ['-framework', 'dnssd'])
|
bonjour_dep = declare_dependency(link_args: ['-framework', 'dnssd'])
|
||||||
|
else
|
||||||
|
bonjour_dep = declare_dependency(link_args: ['-ldns_sd'])
|
||||||
|
endif
|
||||||
conf.set('HAVE_BONJOUR', true)
|
conf.set('HAVE_BONJOUR', true)
|
||||||
|
|
||||||
zeroconf = static_library(
|
zeroconf = static_library(
|
||||||
|
Loading…
Reference in New Issue
Block a user