summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Tiram <[email protected]>2025-04-02 01:06:15 +0200
committerLuke from DC <[email protected]>2025-04-04 22:19:13 +0000
commit20d70463f2ed9a7debe9bd5b3e09359882f646e1 (patch)
treeeb9e13daebec572c3808c6f474d1171255b2b615
parent42c2da11004162c607747bef0dd0afc357187b9d (diff)
downloadatril-20d70463f2ed9a7debe9bd5b3e09359882f646e1.tar.bz2
atril-20d70463f2ed9a7debe9bd5b3e09359882f646e1.tar.xz
fix more build errors
Signed-off-by: Oz Tiram <[email protected]>
-rw-r--r--cut-n-paste/toolbar-editor/meson.build2
-rw-r--r--meson.build1
2 files changed, 2 insertions, 1 deletions
diff --git a/cut-n-paste/toolbar-editor/meson.build b/cut-n-paste/toolbar-editor/meson.build
index cb3f55cd..759b4daa 100644
--- a/cut-n-paste/toolbar-editor/meson.build
+++ b/cut-n-paste/toolbar-editor/meson.build
@@ -89,7 +89,7 @@ libtoolbareditor = static_library('toolbareditor',
'-DCURSOR_DIR="' + join_paths(get_option('prefix'), get_option('datadir'), meson.project_name()) + '"',
],
include_directories: include_directories('.'),
- dependencies: shell_core_deps
+ dependencies: [shell_core_deps, xml]
)
libtoolbareditor_dep = declare_dependency(
diff --git a/meson.build b/meson.build
index 69277334..4156d47a 100644
--- a/meson.build
+++ b/meson.build
@@ -212,6 +212,7 @@ atril_view_header = [
c_args = [
'-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
'-DDATADIR="@0@"'.format(join_paths(prefix, datadir)),
+ '-DMATEDATADIR="@0@"'.format(join_paths(prefix, datadir)),
'-DLIBDIR="@0@"'.format(join_paths(prefix, libdir)),
'-DBINDIR="@0@"'.format(join_paths(prefix, bindir)),
'-DEV_BACKENDSDIR="@0@"'.format(join_paths(prefix, libdir, meson.project_name(), binary_major_version, 'backends')),