summaryrefslogtreecommitdiff
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
parentee39639294dd305b25cafbf8d447e71dd9271dc6 (diff)
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
-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')
4 4
5#common dri packages 5#common dri packages
6libtbm = dependency('libtbm', required: false) 6libtbm = dependency('libtbm', required: false)
7libdrm = dependency('libdrm', required: false)
8 7
9if libtbm.found() == true and libdrm.found() == true 8if libtbm.found() == true
10 libdri2 = dependency('libdri2', required: false) 9 libdri2 = dependency('libdri2', required: false)
11 if libdri2.found() 10 if libdri2.found()
12 subdir('x11_dri2') 11 subdir('x11_dri2')
13 endif 12 endif
14endif
15 13
16if libtbm.found() == true and libdrm.found() == true
17 xshmfence = dependency('xshmfence', required: false) 14 xshmfence = dependency('xshmfence', required: false)
18 xcb = dependency('xcb', required: false) 15 xcb = dependency('xcb', required: false)
19 x11_xcb = dependency('x11_xcb', required: false) 16 x11_xcb = dependency('x11_xcb', required: false)
20 xcb_sync = dependency('xcb_sync', required: false) 17 xcb_sync = dependency('xcb_sync', required: false)
21 xcb_dri3 = dependency('xkb_dri3', required: false) 18 xcb_dri3 = dependency('xkb_dri3', required: false)
22 if xshmfence.found() == true and xcb.found() == true and x11_xcb.found() and xcb_sync.found() and xkb_dri3.found() 19 if xshmfence.found() == true and xcb.found() == true and x11_xcb.found() and xcb_sync.found() and xkb_dri3.found()
23 subdir('x11_dri3') 20 subdir('x11_dri3')
24 endif 21 endif
25endif 22endif