[gucharmap] build: Fix LOCALEDIR definition
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gucharmap] build: Fix LOCALEDIR definition
- Date: Tue, 30 Jul 2019 15:31:48 +0000 (UTC)
commit 25178584e1b6381bd4781eb309df05e7912cf3d4
Author: Ting-Wei Lan <lantw src gnome org>
Date: Wed Jul 10 16:34:06 2019 +0800
build: Fix LOCALEDIR definition
get_option('localedir') is a relative path, so we should join it with
the prefix to get an absolute path.
https://gitlab.gnome.org/GNOME/gucharmap/issues/21
gucharmap/meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gucharmap/meson.build b/gucharmap/meson.build
index 921a3f52..65c53012 100644
--- a/gucharmap/meson.build
+++ b/gucharmap/meson.build
@@ -146,7 +146,7 @@ libgucharmap_gtk3_deps = libgucharmap_gtk3_public_deps
libgucharmap_gtk3_cppflags = disable_deprecated_cppflags + [
'-DGUCHARMAP_COMPILATION',
'-DG_LOG_DOMAIN="Gucharmap"',
- '-DLOCALEDIR="@0@"'.format(gucharmap_localedir),
+ '-DLOCALEDIR="@0@"'.format(gucharmap_prefix / gucharmap_localedir),
]
libgucharmap_gtk3_sources = libgucharmap_sources
@@ -260,7 +260,7 @@ gucharmap_gtk3_sources += gnome.compile_resources(
)
gucharmap_gtk3_cppflags = disable_deprecated_cppflags + [
- '-DLOCALEDIR="@0@"'.format(gucharmap_localedir),
+ '-DLOCALEDIR="@0@"'.format(gucharmap_prefix / gucharmap_localedir),
]
gucharmap_gtk3_deps = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]