1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Fix meson capsicum

Fixes #1223
This commit is contained in:
ailin-nemui 2020-09-26 16:40:18 +02:00
parent 561619f23c
commit 447e565309
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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