summaryrefslogtreecommitdiff
path: root/common
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 /common
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 'common')
-rw-r--r--common/meson.build8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/meson.build b/common/meson.build
index 28427f6..6aed690 100644
--- a/common/meson.build
+++ b/common/meson.build
@@ -26,14 +26,6 @@ libdconf_common = static_library(
sources: sources,
include_directories: top_inc,
dependencies: glib_dep,
- c_args: cflags
-)
-
-libdconf_common_shared = static_library(
- name + '-shared',
- sources: sources,
- include_directories: top_inc,
- dependencies: glib_dep,
c_args: cflags,
pic: true
)