[tracker: 1/2] libtracker-sparql: Use .so suffix for modules on all platforms




commit 95291bf791ead1db062dfe0f0b4626393cb58338
Author: Daniele Nicolodi <daniele grinta net>
Date:   Mon Mar 21 00:25:12 2022 +0100

    libtracker-sparql: Use .so suffix for modules on all platforms
    
    This is what GModule expects on Unix-like systems, including macOS.
    However, meson uses the .dylib suffix by default in the latter case.
    The current build definition would not work on Windows, but there are
    many other things that would be required to port Tracker there.
    
    Fixes: #357.

 src/libtracker-sparql/meson.build | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libtracker-sparql/meson.build b/src/libtracker-sparql/meson.build
index 35fe7be9f..668e21f5a 100644
--- a/src/libtracker-sparql/meson.build
+++ b/src/libtracker-sparql/meson.build
@@ -122,6 +122,7 @@ if libsoup2.found()
         ],
         install: true,
         install_dir: tracker_internal_libs_dir,
+        name_suffix: 'so',
     )
 endif
 
@@ -141,6 +142,7 @@ if libsoup3.found()
         ],
         install: true,
         install_dir: tracker_internal_libs_dir,
+        name_suffix: 'so',
     )
 endif
 


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