mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Merge pull request #1407 from madpilot78/Fix_libnv_detection
Fix libnv detection on recent FreeBSD
This commit is contained in:
commit
f32d0ab51a
1 changed files with 1 additions and 1 deletions
|
|
@ -495,7 +495,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