[tracker/sam/static-libtracker-common] build: Make libtracker-common a static library, for real this time



commit 444ac9b9878ac1ef2779b28264b98726a709e09e
Author: Sam Thursfield <sam afuera me uk>
Date:   Mon Jul 15 00:24:35 2019 +0100

    build: Make libtracker-common a static library, for real this time
    
    I attempted this before in https://gitlab.gnome.org/GNOME/tracker/102
    (commit ac856befe3), but reverted it again because it caused errors
    in tracker-miners about the type TrackerDomainOntology being registered
    twice.
    
    MR https://gitlab.gnome.org/GNOME/tracker-miners/merge_requests/89
    removes the TrackerDomainOntology GType from libtracker-miners-common,
    then we can make this library static for real.

 src/libtracker-common/meson.build | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/src/libtracker-common/meson.build b/src/libtracker-common/meson.build
index 023fa4d37..4accbb181 100644
--- a/src/libtracker-common/meson.build
+++ b/src/libtracker-common/meson.build
@@ -39,13 +39,7 @@ if build_machine.system() == 'openbsd'
   tracker_common_dependencies += libkvm
 endif
 
-# We build libtracker-common as a shared library, even though it's
-# for internal use only. The fact is that we can't link to it statically
-# in libtracker-sparql, because that library is used inside tracker-miners
-# which has its own incompatible libtracker-miners-common library.
-#
-# See: https://gitlab.gnome.org/GNOME/tracker/issues/116
-libtracker_common = library('tracker-common',
+libtracker_common = static_library('tracker-common',
   tracker_common_sources,
   dependencies: tracker_common_dependencies + [unicode_library],
   c_args: tracker_c_args,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]