lib/nfs/meson.build: reject libnfs 6
libnfs version 6 has major API changes and MPD 0.23 has never been adapted to these. This additional configure-time check fixes potential compile-time failures.
This commit is contained in:
parent
37049aab36
commit
c48dbd5dd4
@ -1,4 +1,4 @@
|
||||
nfs_dep = dependency('libnfs', version: '>= 4', required: get_option('nfs'))
|
||||
nfs_dep = dependency('libnfs', version: ['>= 4', '< 6'], required: get_option('nfs'))
|
||||
conf.set('ENABLE_NFS', nfs_dep.found())
|
||||
if not nfs_dep.found()
|
||||
subdir_done()
|
||||
|
Loading…
x
Reference in New Issue
Block a user