From dc46a4d942dc1d4d56b752b5b5291ca4aa944d41 Mon Sep 17 00:00:00 2001 From: Laurent Bigonville Date: Mon, 15 Oct 2018 11:10:46 +0200 Subject: build: Use join_paths instead of concatenating the paths manually --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index ea08d04..9e86192 100644 --- a/meson.build +++ b/meson.build @@ -19,7 +19,7 @@ conf.set_quoted('PACKAGE_STRING', 'geoclue ' + gclue_version) conf.set_quoted('PACKAGE_URL', 'http://www.freedesktop.org/wiki/Software/GeoClue') conf.set_quoted('PACKAGE_BUGREPORT', 'http://bugs.freedesktop.org/enter_bug.cgi?product=GeoClue') conf.set_quoted('TEST_SRCDIR', meson.source_root() + '/data/') -datadir = get_option('prefix') + '/' + get_option('datadir') +datadir = join_paths(get_option('prefix'), get_option('datadir')) conf.set_quoted('LOCALEDIR', datadir + '/locale') conf.set_quoted('SYSCONFDIR', get_option('sysconfdir')) -- cgit v1.2.1