mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
parent
561619f23c
commit
447e565309
@ -477,7 +477,7 @@ have_capsicum = false
|
||||
if want_capsicum
|
||||
if cc.has_function('cap_enter', dependencies : cc.find_library('c'))
|
||||
libnv = cc.find_library('nv', required : require_capsicum)
|
||||
nvlist_create_found = libnv.found() and cc.has_function('nvlist_create_found', dependencies : libnv)
|
||||
nvlist_create_found = libnv.found() and cc.has_function('nvlist_create', dependencies : libnv)
|
||||
if nvlist_create_found
|
||||
dep += libnv
|
||||
have_capsicum = true
|
||||
|
@ -7,7 +7,7 @@ else
|
||||
endif
|
||||
|
||||
if have_capsicum
|
||||
core_capsicum_source = files('fe-capsicum.c')
|
||||
core_capsicum_source = files('capsicum.c')
|
||||
else
|
||||
core_capsicum_source = []
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user