[tracker/wip/carlosg/test] baz




commit 42226e9083df9aad4bf83e741aafb05bb49a87f8
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jul 28 19:31:07 2021 +0200

    baz

 src/libtracker-sparql/meson.build             | 4 ++++
 src/libtracker-sparql/tracker-remote-module.c | 3 +--
 src/libtracker-sparql/tracker-remote-module.h | 6 ++++++
 3 files changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-sparql/meson.build b/src/libtracker-sparql/meson.build
index af4e9f3a1..7358adfee 100644
--- a/src/libtracker-sparql/meson.build
+++ b/src/libtracker-sparql/meson.build
@@ -105,6 +105,7 @@ if libsoup2.found()
         c_args: tracker_c_args + [
             '-include', 'config.h',
             '-include', 'libtracker-sparql/tracker-private.h',
+            '-include', 'libtracker-sparql/tracker-remote-module.h',
         ],
         vala_args: [
             '--debug',
@@ -116,6 +117,7 @@ if libsoup2.found()
         ],
         install: true,
         install_dir: tracker_internal_libs_dir,
+        gnu_symbol_visibility: 'hidden',
     )
 endif
 
@@ -125,6 +127,7 @@ if libsoup3.found()
         c_args: tracker_c_args + [
             '-include', 'config.h',
             '-include', 'libtracker-sparql/tracker-private.h',
+            '-include', 'libtracker-sparql/tracker-remote-module.h',
         ],
         vala_args: [
             '--debug',
@@ -135,6 +138,7 @@ if libsoup3.found()
         ],
         install: true,
         install_dir: tracker_internal_libs_dir,
+        gnu_symbol_visibility: 'hidden',
     )
 endif
 
diff --git a/src/libtracker-sparql/tracker-remote-module.c b/src/libtracker-sparql/tracker-remote-module.c
index 5dd4a4d7a..dd00d9837 100644
--- a/src/libtracker-sparql/tracker-remote-module.c
+++ b/src/libtracker-sparql/tracker-remote-module.c
@@ -59,8 +59,7 @@ tracker_init_remote (void)
                }
 
                remote_module = g_module_open (module_path,
-                                              G_MODULE_BIND_LAZY |
-                                              G_MODULE_BIND_LOCAL);
+                                              G_MODULE_BIND_LAZY);
                if (!remote_module)
                        g_warning ("No module at %s", module_path);
                g_free (module_path);
diff --git a/src/libtracker-sparql/tracker-remote-module.h b/src/libtracker-sparql/tracker-remote-module.h
new file mode 100644
index 000000000..a215b1ecb
--- /dev/null
+++ b/src/libtracker-sparql/tracker-remote-module.h
@@ -0,0 +1,6 @@
+#include <glib.h>
+#include "tracker-version.h"
+
+typedef struct _TrackerRemoteConnection TrackerRemoteConnection;
+
+_TRACKER_EXTERN TrackerRemoteConnection * tracker_remote_connection_new (const gchar *url_base);


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