summaryrefslogtreecommitdiff
path: root/engine
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 /engine
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 'engine')
-rw-r--r--engine/meson.build6
1 files changed, 2 insertions, 4 deletions
diff --git a/engine/meson.build b/engine/meson.build
index c4ed442..0705c75 100644
--- a/engine/meson.build
+++ b/engine/meson.build
@@ -13,14 +13,12 @@ deps = [
libgvdb_dep
]
-cflags = '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name())
-
libdconf_engine = static_library(
- meson.project_name() + '-engine',
+ 'dconf-engine',
sources: sources,
include_directories: top_inc,
dependencies: deps + [libdconf_shm_dep],
- c_args: cflags,
+ c_args: '-DG_LOG_DOMAIN="dconf"',
pic: true
)