From: Tim-Philipp Müller Date: Fri, 5 May 2017 11:02:33 +0000 (+0100) Subject: meson: use cc.find_library() X-Git-Tag: 1.16.2~797 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d33e8f11dc23dca9bac63fcbc49b597ef62ec70;p=platform%2Fupstream%2Fgstreamer.git meson: use cc.find_library() find_library() was deprecated and removed in later versions. --- diff --git a/libs/gst/helpers/meson.build b/libs/gst/helpers/meson.build index 124d754..a189807 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