summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-05-05 12:02:33 +0100
committerTim-Philipp Müller <tim@centricular.com>2017-05-05 12:02:33 +0100
commit0d33e8f11dc23dca9bac63fcbc49b597ef62ec70 (patch)
tree1ec077652b6dfbd87d0340cf602a871b61029712
parentdcfb222e059d3f9c490186260eb342d64eb495ae (diff)
meson: use cc.find_library()
find_library() was deprecated and removed in later versions.
-rw-r--r--libs/gst/helpers/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gst/helpers/meson.build b/libs/gst/helpers/meson.build
index 124d7545a..a18980725 100644
--- a/libs/gst/helpers/meson.build
+++ b/libs/gst/helpers/meson.build
@@ -74,7 +74,7 @@ if have_ptp
gst_ptp_have_cap = false
cap_dep = []
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)
gst_ptp_have_cap = true
endif