mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 10:25:37 +03:00
meson: also search for libcap directly
This commit is contained in:
parent
77018a8c26
commit
1800cc8546
@ -614,7 +614,12 @@ libm = cc.find_library('m')
|
||||
libdl = cc.find_library('dl')
|
||||
libcrypt = cc.find_library('crypt')
|
||||
|
||||
libcap = dependency('libcap')
|
||||
libcap = dependency('libcap', required : false)
|
||||
if not libcap.found()
|
||||
# Compat with Ubuntu 14.04 which ships libcap w/o .pc file
|
||||
libcap = cc.find_library('cap')
|
||||
endif
|
||||
|
||||
libmount = dependency('mount',
|
||||
version : '>= 2.27')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user