summaryrefslogtreecommitdiff
path: root/config.h.meson.in
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2021-07-28 12:53:47 +0200
committerCarlos Garnacho <carlosg@gnome.org>2021-07-28 23:01:09 +0200
commit87b89b99a3f0cdf708d6c5f85acd64f6bfd26ca1 (patch)
tree835678fbbf7c69d994c79adec4fea18f17b9ec02 /config.h.meson.in
parenta07580610fe0d91124b2632f9a2ca1d5dfa8a40d (diff)
downloadtracker-87b89b99a3f0cdf708d6c5f85acd64f6bfd26ca1.tar.gz
libtracker-sparql: Allow building against multiple versions of libsoup
Tracker is an innocent bystander hindering libsoup3 port, since the libsoup2/3->tracker->gtk3 dependency chain imposes a libsoup version, graphical applications using libsoup cannot port at their own pace. Make our remote code (connection & endpoint) be a private module that is built against both versions of libsoup (if found), then we pick one at runtime, with a preference on libsoup3 if libsoup2 .so file is not seen in the already loaded libraries. This patch should be reverted ASAP, once we can consider libsoup2 deprecated. Fixes: https://gitlab.gnome.org/GNOME/tracker/-/issues/320
Diffstat (limited to 'config.h.meson.in')
-rw-r--r--config.h.meson.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.meson.in b/config.h.meson.in
index 9d1439e91..4aff15f72 100644
--- a/config.h.meson.in
+++ b/config.h.meson.in
@@ -57,3 +57,6 @@
/* Define to the Tracker minor version */
#mesondefine TRACKER_MINOR_VERSION
+
+/* Whether RTLD_NOLOAD is defined */
+#mesondefine HAVE_RTLD_NOLOAD