projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcfb222
)
meson: use cc.find_library()
author
Tim-Philipp Müller
<tim@centricular.com>
Fri, 5 May 2017 11:02:33 +0000
(12:02 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 5 May 2017 11:02:33 +0000
(12:02 +0100)
find_library() was deprecated and removed in later versions.
libs/gst/helpers/meson.build
patch
|
blob
|
history
diff --git
a/libs/gst/helpers/meson.build
b/libs/gst/helpers/meson.build
index
124d754
..
a189807
100644
(file)
--- 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