mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
meson: use cc.find_library()
find_library() was deprecated and removed in later versions.
This commit is contained in:
parent
dcfb222e05
commit
0d33e8f11d
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ if have_ptp
|
||||||
gst_ptp_have_cap = false
|
gst_ptp_have_cap = false
|
||||||
cap_dep = []
|
cap_dep = []
|
||||||
if cc.has_header('sys/capability.h')
|
if cc.has_header('sys/capability.h')
|
||||||
cap_dep = find_library('cap', required : false)
|
cap_dep = cc.find_library('cap', required : false)
|
||||||
if cap_dep.found() and cc.has_function('cap_init', dependencies : cap_dep)
|
if cap_dep.found() and cc.has_function('cap_init', dependencies : cap_dep)
|
||||||
gst_ptp_have_cap = true
|
gst_ptp_have_cap = true
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue