[tracker/wip/carlosg/libtracker-data-static] libtracker-data: Make a static library
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/libtracker-data-static] libtracker-data: Make a static library
- Date: Tue, 1 Sep 2020 08:18:54 +0000 (UTC)
commit ad273ded07d0fcd92844e397d812a29610c91cc2
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Sep 1 10:03:57 2020 +0200
libtracker-data: Make a static library
There's no multiple executables pulling this library directly. We have
some direct uses of this library, but they are all tests and non-install
executables in the repo.
Making it a static library won't increase install size, as only
libtracker-sparql pulls from it in the system, that's what everyone should
use instead.
src/libtracker-data/meson.build | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/libtracker-data/meson.build b/src/libtracker-data/meson.build
index 3ff0f3194..e2e256124 100644
--- a/src/libtracker-data/meson.build
+++ b/src/libtracker-data/meson.build
@@ -10,7 +10,7 @@ tracker_data_dependencies = [
tracker_data_dependencies += tracker_fts_dep
-libtracker_data = library('tracker-data',
+libtracker_data = static_library('tracker-data',
'tracker-class.c',
'tracker-collation.c',
'tracker-crc32.c',
@@ -37,8 +37,6 @@ libtracker_data = library('tracker-data',
tracker_data_enums[1],
tracker_gresources,
c_args: tracker_c_args,
- install: true,
- install_dir: tracker_internal_libs_dir,
# This doesn't depend on tracker_common_dep because of
# https://github.com/mesonbuild/meson/issues/671
# We do *not* want --no-undefined here, this library uses
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]