[tracker/wip/carlosg/libtracker-data-static: 2/2] 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: 2/2] libtracker-data: Make a static library
- Date: Tue, 1 Sep 2020 08:42:03 +0000 (UTC)
commit f78d99d947587a0e88d0cb9eb4c15795cb124a83
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 e70f66d49..469cd0c64 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',
@@ -36,8 +36,6 @@ libtracker_data = library('tracker-data',
tracker_data_enums[0],
tracker_data_enums[1],
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]