summaryrefslogtreecommitdiff
path: root/gsettings
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-08-11 13:57:42 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2018-08-11 22:56:33 +0200
commit11085f91c24dd895dfd1e9d02a71f1a3346e3c00 (patch)
tree8e56a2f455e0a1335c912674759e8bf0c3ec7b6a /gsettings
parent4ef809a42f55adec9d32210867028aa502639a88 (diff)
downloaddconf-11085f91c24dd895dfd1e9d02a71f1a3346e3c00.tar.gz
build: Do not make heavy use of project_name
The current meson build files make heavy use of meson's `project_name` function. However this makes difficult for any developer to find for given program/library/file names. The project name is also never going to change. Due to this reason these calls have been changed for `dconf` itself.
Diffstat (limited to 'gsettings')
-rw-r--r--gsettings/meson.build6
1 files changed, 2 insertions, 4 deletions
diff --git a/gsettings/meson.build b/gsettings/meson.build
index c1e9104..29fc7c5 100644
--- a/gsettings/meson.build
+++ b/gsettings/meson.build
@@ -3,14 +3,12 @@ deps = [
libdconf_gdbus_thread_dep
]
-cflags = '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name())
-
libdconf_settings = shared_library(
- meson.project_name() + 'settings',
+ 'dconfsettings',
sources: 'dconfsettingsbackend.c',
include_directories: top_inc,
dependencies: deps,
- c_args: cflags,
+ c_args: '-DG_LOG_DOMAIN="dconf"',
install: true,
install_dir: gio_module_dir
)