diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2019-07-10 18:40:27 +0100 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2019-07-10 18:43:03 +0100 |
commit | 24cf02831451c414d86ec0a2b7c40eb0c061b1d7 (patch) | |
tree | beaa205123036a88b9d8637c8aa550f7f967d90c /src/libtracker-common | |
parent | eb46640de216fdecdfef405a3445ef4ba699e886 (diff) | |
download | tracker-24cf02831451c414d86ec0a2b7c40eb0c061b1d7.tar.gz |
build: Use tracker_common_dep as a normal dependency
We were using 'link_with: libtracker-common' to link to
libtracker-common in some places, which worked around an old Meson bug.
The bug (https://github.com/mesonbuild/meson/issues/671) was fixed in
Meson 0.42 so we can now remove the workaround.
The advantage of using 'dependency: tracker_common_dep' is that
transitive dependencies are now automatically propagated. We now
probably have some redundant dependency information on some of the
libraries, but that isn't a problem.
Fixes https://gitlab.gnome.org/GNOME/tracker/issues/112
Diffstat (limited to 'src/libtracker-common')
-rw-r--r-- | src/libtracker-common/meson.build | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libtracker-common/meson.build b/src/libtracker-common/meson.build index e8ddb8ba1..023fa4d37 100644 --- a/src/libtracker-common/meson.build +++ b/src/libtracker-common/meson.build @@ -56,15 +56,6 @@ libtracker_common = library('tracker-common', commoninc = include_directories('.') -# This dependency can't be used everywhere right now. The issue is that if -# every other library depends on this one, we end up with a combinatorial -# explosion that results in the link line for src/tracker/tracker being -# nearly 200,000 characters long which causes this kind of error: -# -# Linking target src/tracker/tracker -# ninja: fatal: posix_spawn: Argument list too long -# -# Upstream issue: https://github.com/mesonbuild/meson/issues/671 tracker_common_dep = declare_dependency( sources: [tracker_common_enum_header], link_with: libtracker_common, |