summaryrefslogtreecommitdiff
path: root/src/modules/wl_buffer/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/wl_buffer/meson.build')
-rw-r--r--src/modules/wl_buffer/meson.build19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/modules/wl_buffer/meson.build b/src/modules/wl_buffer/meson.build
new file mode 100644
index 0000000000..b301b57eb0
--- /dev/null
+++ b/src/modules/wl_buffer/meson.build
@@ -0,0 +1,19 @@
+wl_buffer_src = [
+ 'e_mod_main.c',
+]
+
+wl_buffer_dir = join_paths(dir_module_e, 'wl_buffer', module_arch)
+if get_option('wl-buffer') == true and get_option('wayland') == true
+ config_h.set('USE_MODULE_WL_BUFFER', '1')
+
+ module_files += join_paths(wl_buffer_dir, 'wl_buffer.so')
+ shared_module('wl_buffer',
+ wl_buffer_src,
+ include_directories: include_directories(module_includes),
+ name_prefix: '',
+ dependencies: module_deps,
+ install_dir: wl_buffer_dir,
+ install: true
+ )
+endif
+