summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Nicolodi <daniele@grinta.net>2022-03-21 00:25:12 +0100
committerDaniele Nicolodi <daniele@grinta.net>2022-03-21 00:28:23 +0100
commit95291bf791ead1db062dfe0f0b4626393cb58338 (patch)
tree83dc19be3dc141984a238b18ed6154f4ff766cb2
parentf56ecdc3921a537881d5aa8991d32e9d9c54a2d9 (diff)
downloadtracker-95291bf791ead1db062dfe0f0b4626393cb58338.tar.gz
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.
-rw-r--r--src/libtracker-sparql/meson.build2
1 files changed, 2 insertions, 0 deletions
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