mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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
@ -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…
Reference in New Issue
Block a user