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 want_capsicum
|
||||||
if cc.has_function('cap_enter', dependencies : cc.find_library('c'))
|
if cc.has_function('cap_enter', dependencies : cc.find_library('c'))
|
||||||
libnv = cc.find_library('nv', required : require_capsicum)
|
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
|
if nvlist_create_found
|
||||||
dep += libnv
|
dep += libnv
|
||||||
have_capsicum = true
|
have_capsicum = true
|
||||||
|
@ -7,7 +7,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if have_capsicum
|
if have_capsicum
|
||||||
core_capsicum_source = files('fe-capsicum.c')
|
core_capsicum_source = files('capsicum.c')
|
||||||
else
|
else
|
||||||
core_capsicum_source = []
|
core_capsicum_source = []
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user