From 183e193ba8823de398e8b22491478176acb923c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= Date: Tue, 10 Apr 2018 22:22:47 +0200 Subject: 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. --- common/meson.build | 8 -------- 1 file changed, 8 deletions(-) (limited to 'common') 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 ) -- cgit v1.2.1