Commit 537a28e1 authored by Sebastian Ramacher's avatar Sebastian Ramacher

Do not try .sos on macOS

parent fc4b85c4
...@@ -80,14 +80,14 @@ zathura_plugin_manager_add_dir(zathura_plugin_manager_t* plugin_manager, const c ...@@ -80,14 +80,14 @@ zathura_plugin_manager_add_dir(zathura_plugin_manager_t* plugin_manager, const c
static bool static bool
check_suffix(const char* path) check_suffix(const char* path)
{ {
if (g_str_has_suffix(path, ".so") == TRUE) {
return true;
}
#ifdef __APPLE__ #ifdef __APPLE__
if (g_str_has_suffix(path, ".dylib") == TRUE) { if (g_str_has_suffix(path, ".dylib") == TRUE) {
return true; return true;
} }
#else
if (g_str_has_suffix(path, ".so") == TRUE) {
return true;
}
#endif #endif
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment