summaryrefslogtreecommitdiff
path: root/shm/meson.build
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 /shm/meson.build
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 'shm/meson.build')
-rw-r--r--shm/meson.build10
1 files changed, 3 insertions, 7 deletions
diff --git a/shm/meson.build b/shm/meson.build
index 4f95b98..42fe03a 100644
--- a/shm/meson.build
+++ b/shm/meson.build
@@ -1,13 +1,9 @@
-name = meson.project_name() + '-shm'
-
-cflags = '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name())
-
libdconf_shm = static_library(
- name,
- sources: name + '.c',
+ 'dconf-shm',
+ sources: 'dconf-shm.c',
include_directories: top_inc,
dependencies: glib_dep,
- c_args: cflags,
+ c_args: '-DG_LOG_DOMAIN="dconf"',
pic: true
)