mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Merge pull request #1407 from madpilot78/Fix_libnv_detection
Fix libnv detection on recent FreeBSD
(cherry picked from commit f32d0ab51a)
This commit is contained in:
parent
f51bc42429
commit
c01b35b062
1 changed files with 1 additions and 1 deletions
|
|
@ -492,7 +492,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', dependencies : libnv)
|
||||
nvlist_create_found = libnv.found() and cc.has_function('nvlist_create', dependencies : libnv, prefix : '#include <sys/nv.h>')
|
||||
if nvlist_create_found
|
||||
dep += libnv
|
||||
have_capsicum = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue