summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build7
-rw-r--r--src/bin/meson.build2
2 files changed, 8 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index b049ddb..5f005b7 100644
--- a/meson.build
+++ b/meson.build
@@ -4,8 +4,15 @@ project('evisum', 'c',
4 4
5efl_version = '>= 1.22.0' 5efl_version = '>= 1.22.0'
6 6
7host_os = host_machine.system()
8
7deps = dependency('elementary', version: efl_version) 9deps = dependency('elementary', version: efl_version)
8 10
11deps_os = declare_dependency(link_args : [] )
12if host_os == 'openbsd'
13deps_os = declare_dependency(link_args : [ '-lkvm' ])
14endif
15
9##### dir locations 16##### dir locations
10dir_prefix = get_option('prefix') 17dir_prefix = get_option('prefix')
11dir_bin = join_paths(dir_prefix, get_option('bindir')) 18dir_bin = join_paths(dir_prefix, get_option('bindir'))
diff --git a/src/bin/meson.build b/src/bin/meson.build
index 17df2af..257f6df 100644
--- a/src/bin/meson.build
+++ b/src/bin/meson.build
@@ -4,6 +4,6 @@ executable('evisum', [
4 'system.c', 'system.h', 4 'system.c', 'system.h',
5 'ui.c', 'ui.h', 5 'ui.c', 'ui.h',
6 'main.c'], 6 'main.c'],
7 dependencies : deps, 7 dependencies : [ deps, deps_os ],
8 gui_app : true, 8 gui_app : true,
9 install : true) 9 install : true)