aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/ecore_buffer/meson.build
diff options
context:
space:
mode:
authorWonki Kim <wonki_.kim@samsung.com>2019-01-10 07:55:56 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-10 10:57:42 +0100
commit2ce974475450701e81adf350ea9e1fdea75e32bb (patch)
tree31e34605d5ced8a3d5dc877948affc82a154eaee /src/modules/ecore_buffer/meson.build
parentmeson: refactor meson.build for ecore_wl2 (diff)
downloadefl-2ce974475450701e81adf350ea9e1fdea75e32bb.tar.gz
meson: fix a potentionally unexpected behavior
lidrm is defined in different locations, which causes a unexpected behavior. this patch fixes it in advance. Differential Revision: https://phab.enlightenment.org/D7567
Diffstat (limited to '')
-rw-r--r--src/modules/ecore_buffer/meson.build7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/modules/ecore_buffer/meson.build b/src/modules/ecore_buffer/meson.build
index 00f393fdb4..1982c7bcd7 100644
--- a/src/modules/ecore_buffer/meson.build
+++ b/src/modules/ecore_buffer/meson.build
@@ -4,22 +4,19 @@ subdir('shm')
#common dri packages
libtbm = dependency('libtbm', required: false)
-libdrm = dependency('libdrm', required: false)
-if libtbm.found() == true and libdrm.found() == true
+if libtbm.found() == true
libdri2 = dependency('libdri2', required: false)
if libdri2.found()
subdir('x11_dri2')
endif
-endif
-if libtbm.found() == true and libdrm.found() == true
xshmfence = dependency('xshmfence', required: false)
xcb = dependency('xcb', required: false)
x11_xcb = dependency('x11_xcb', required: false)
xcb_sync = dependency('xcb_sync', required: false)
xcb_dri3 = dependency('xkb_dri3', required: false)
if xshmfence.found() == true and xcb.found() == true and x11_xcb.found() and xcb_sync.found() and xkb_dri3.found()
- subdir('x11_dri3')
+ subdir('x11_dri3')
endif
endif