mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-02-27 16:54:39 +01:00
Do not try .sos on macOS
This commit is contained in:
parent
fc4b85c4af
commit
537a28e14c
1 changed files with 4 additions and 4 deletions
|
@ -80,14 +80,14 @@ zathura_plugin_manager_add_dir(zathura_plugin_manager_t* plugin_manager, const c
|
|||
static bool
|
||||
check_suffix(const char* path)
|
||||
{
|
||||
if (g_str_has_suffix(path, ".so") == TRUE) {
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef __APPLE__
|
||||
if (g_str_has_suffix(path, ".dylib") == TRUE) {
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
if (g_str_has_suffix(path, ".so") == TRUE) {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue