From ef50854b46dfbf4efd5cb056ec99de91835bba67 Mon Sep 17 00:00:00 2001 From: Wonki Kim Date: Thu, 31 Jan 2019 17:44:47 +0900 Subject: [PATCH] meson: modify install pathes for modules of ecore_buffer Summary: there are differences between meson and autotools. autotools installs them under ${libdir}/ecore_buffer/modules/module/version/ as module.so Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7837 Change-Id: Ide30c45b8df8136188876eeda81fc119d9c6d237 --- src/modules/ecore_buffer/shm/meson.build | 5 +++-- src/modules/ecore_buffer/x11_dri2/meson.build | 5 +++-- src/modules/ecore_buffer/x11_dri3/meson.build | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/modules/ecore_buffer/shm/meson.build b/src/modules/ecore_buffer/shm/meson.build index 30da825..2a54979 100644 --- a/src/modules/ecore_buffer/shm/meson.build +++ b/src/modules/ecore_buffer/shm/meson.build @@ -1,5 +1,6 @@ -ecore_buffer_shm_mod = shared_module('ecore_buffer_shm_mod', +ecore_buffer_shm_mod = shared_module('module.so', 'ecore_buffer_shm.c', dependencies: [ecore, ecore_buffer], - install: true + install: true, + install_dir: join_paths(dir_lib, 'ecore_buffer', 'modules', 'shm', version_name) ) \ No newline at end of file diff --git a/src/modules/ecore_buffer/x11_dri2/meson.build b/src/modules/ecore_buffer/x11_dri2/meson.build index 37ed534..add7368 100644 --- a/src/modules/ecore_buffer/x11_dri2/meson.build +++ b/src/modules/ecore_buffer/x11_dri2/meson.build @@ -1,5 +1,6 @@ -ecore_buffer_x11_dri2_mod = shared_module('ecore_buffer_x11_dri2_mod', +ecore_buffer_x11_dri2_mod = shared_module('module.so', 'ecore_buffer_x11_dri2.c', dependencies: [ecore, ecore_buffer, ecore_x], - install: true + install: true, + install_dir: join_paths(dir_lib, 'ecore_buffer', 'modules', 'x11_dri2', version_name) ) \ No newline at end of file diff --git a/src/modules/ecore_buffer/x11_dri3/meson.build b/src/modules/ecore_buffer/x11_dri3/meson.build index 5126fff..59d0b86 100644 --- a/src/modules/ecore_buffer/x11_dri3/meson.build +++ b/src/modules/ecore_buffer/x11_dri3/meson.build @@ -1,7 +1,8 @@ if dependency('libtbm', required: false).found() == true and dependency('libdrm', required: false).found() - ecore_buffer_x11_dri3_mod = shared_module('ecore_buffer_x11_dri3_mod', + ecore_buffer_x11_dri3_mod = shared_module('module.so', 'ecore_buffer_x11_dri3.c', dependencies: [ecore, ecore_buffer, ecore_x], - install: true + install: true, + install_dir: join_paths(dir_lib, 'ecore_buffer', 'modules', 'x11_dri3', version_name) ) endif \ No newline at end of file -- 2.7.4