mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Merge pull request #1224 from ailin-nemui/meson-capsicum
Fix meson capsicum
This commit is contained in:
commit
17c6c22c89
@ -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