diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2019-07-15 00:24:35 +0100 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2019-08-05 13:29:57 +0200 |
commit | 92befd6560eba683f69c37ae371898f30c0d3bbb (patch) | |
tree | eaedc3310c8097562124a8fcfb4620166a107f71 | |
parent | de7fad33c3a83a136a70b8a4be7b5f7066fb6a4d (diff) | |
download | tracker-92befd6560eba683f69c37ae371898f30c0d3bbb.tar.gz |
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.
-rw-r--r-- | src/libtracker-common/meson.build | 8 |
1 files changed, 1 insertions, 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, |