summaryrefslogtreecommitdiff
path: root/common
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 /common
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 'common')
-rw-r--r--common/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/meson.build b/common/meson.build
index beef8c26..b2a2f250 100644
--- a/common/meson.build
+++ b/common/meson.build
@@ -28,7 +28,7 @@ deps = [
gobject_dep,
]
-cflags = common_cflags + ['-DREMOTE_VOLUME_MONITORS_DIR="@0@"'.format(gvfs_remote_volume_monitors_dir)]
+cflags = common_cflags + ['-DREMOTE_VOLUME_MONITORS_DIR="@0@"'.format(gvfs_prefix / gvfs_remote_volume_monitors_dir)]
libgvfscommon = shared_library(
'gvfscommon',