From 0d33e8f11dc23dca9bac63fcbc49b597ef62ec70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 5 May 2017 12:02:33 +0100 Subject: [PATCH] meson: use cc.find_library() find_library() was deprecated and removed in later versions. --- libs/gst/helpers/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/helpers/meson.build b/libs/gst/helpers/meson.build index 124d7545ae..a18980725d 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