projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e234932
)
meson: ximage: check for XShmAttach()
author
Tim-Philipp Müller
<tim@centricular.com>
Tue, 22 Jan 2019 09:51:33 +0000
(09:51 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 22 Jan 2019 09:52:14 +0000
(09:52 +0000)
Fixes FIXME.
sys/ximage/meson.build
patch
|
blob
|
history
diff --git
a/sys/ximage/meson.build
b/sys/ximage/meson.build
index
69926ec
..
02e0ce3
100644
(file)
--- a/
sys/ximage/meson.build
+++ b/
sys/ximage/meson.build
@@
-2,9
+2,9
@@
x11_dep = dependency('x11', required : get_option('ximagesrc'))
if x11_dep.found()
x_args = []
- # FIXME: Need to check for XShmAttach inside libXext
xshm_dep = dependency('xext', required : get_option('ximagesrc-xshm'))
- if xshm_dep.found()
+ # FIXME: should add a 'required' arg to cc.has_function() in Meson and use it here
+ if xshm_dep.found() and cc.has_function('XShmAttach', dependencies: xshm_dep)
x_args += ['-DHAVE_XSHM']
endif