summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-12-17 23:25:38 +0100
committerIñigo Martínez <inigomartinez@gmail.com>2019-01-21 21:18:06 +0100
commit7fde89de74f2d25cf2c074d227a7ffd3a732647d (patch)
tree563007cbfd392e3bf61a8a7c91f00f59247772bb /client
parent5d2533279cdc4660fa0a6f85d86c3d90d665e9f6 (diff)
downloadgvfs-7fde89de74f2d25cf2c074d227a7ffd3a732647d.tar.gz
build: Do not use prefix on directory variables
Although usually directory variables are set by using the `prefix` directory, this might cause issues due to parameters that need relative directories. In order to ease the transition `prefix` directory has been stripped from directory variables and only has been appended when necessary.
Diffstat (limited to 'client')
-rw-r--r--client/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/meson.build b/client/meson.build
index 73b8d7e3..8f57d0d3 100644
--- a/client/meson.build
+++ b/client/meson.build
@@ -39,8 +39,8 @@ deps = [
cflags = [
'-DG_LOG_DOMAIN="@0@"'.format(gvfs_name.to_upper()),
- '-DGVFS_LOCALEDIR="@0@"'.format(gvfs_localedir),
- '-DGVFS_MODULE_DIR="@0@"'.format(gvfs_pkglibdir / 'modules'),
+ '-DGVFS_LOCALEDIR="@0@"'.format(gvfs_prefix / gvfs_localedir),
+ '-DGVFS_MODULE_DIR="@0@"'.format(gvfs_prefix / gvfs_pkglibdir / 'modules'),
]
symbol_map = meson.current_source_dir() / 'symbol.map'