1
0
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:
ailin-nemui 2020-09-26 16:51:26 +02:00 committed by GitHub
commit 17c6c22c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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