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-04 16:33:53 +0100
commitdb31059d1b7b11b597b03064329fb1e8899b11f2 (patch)
treea6c940107753ad623c3b9bc08b864bd89194d7ce /common
parent32bde011b2522d302d72506884866bd809ef5bda (diff)
downloadgvfs-db31059d1b7b11b597b03064329fb1e8899b11f2.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',