Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Tue, 17 Oct 2023 13:30:54 UTC Commit: 432cd586704ce4488046550e9cd42b67946a5499 https://github.com/geany/geany/commit/432cd586704ce4488046550e9cd42b67946a54...
Log Message: ----------- macOS: use ".so" extension for plugins instead of ".dylib"
Geany currently loads only plugins with the ".so" extension on macOS. This extension is still needed since we use autotools for geany-plugins which also generate ".so".
Modified Paths: -------------- plugins/meson.build
Modified: plugins/meson.build 6 lines changed, 6 insertions(+), 0 deletions(-) =================================================================== @@ -12,12 +12,18 @@ plugins = [ 'SplitWindow' ]
+plugin_suffix = [] +if (host_machine.system() == 'darwin') + plugin_suffix = 'so' # use "so" instead of "dylib" so Geany finds plugins correctly +endif + foreach plugin : plugins id = plugin.to_lower() skip_install = id.startswith('demo') shared_module(id, id + '.c', name_prefix: '', # "lib" seems to be the default prefix + name_suffix: plugin_suffix, link_with: libgeany, include_directories: plugin_inc, c_args: [def_cflags, '-DG_LOG_DOMAIN="'+plugin+'"'],
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).