summaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-04-10 22:22:47 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2018-08-11 22:56:33 +0200
commit183e193ba8823de398e8b22491478176acb923c9 (patch)
tree3df2e0b063e0eb05e934978a0c22a3a3c4bd4a83 /engine
parent9ce9c03de0a7fbb1ec2ed83b2f02cb8b1459c58f (diff)
downloaddconf-183e193ba8823de398e8b22491478176acb923c9.tar.gz
build: Avoid building libraries twice
dconf builts a number of internal static libraries which in some cases are duplicated. This duplication comes from autotools that used to built two libraries for each library, one with PIC enabled and the other one without it. This has been changed to build only one library for each library to be built, except `libdconf-common-hidden` which hides some symbols for the GIO module to be built.
Diffstat (limited to 'engine')
-rw-r--r--engine/meson.build12
1 files changed, 1 insertions, 11 deletions
diff --git a/engine/meson.build b/engine/meson.build
index 58b648f..d68bd5e 100644
--- a/engine/meson.build
+++ b/engine/meson.build
@@ -1,5 +1,3 @@
-name = meson.project_name() + '-engine'
-
sources = files(
'dconf-engine.c',
'dconf-engine-profile.c',
@@ -13,15 +11,7 @@ sources = files(
cflags = '-DG_LOG_DOMAIN="@0@"'.format(meson.project_name())
libdconf_engine = static_library(
- name,
- sources: sources,
- include_directories: top_inc,
- dependencies: glib_dep,
- c_args: cflags
-)
-
-libdconf_engine_shared = static_library(
- name + '-shared',
+ meson.project_name() + '-engine',
sources: sources,
include_directories: top_inc,
dependencies: glib_dep,