mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
15 lines
406 B
Plaintext
15 lines
406 B
Plaintext
Index: src/plugins.c
|
|
--- src/plugins.c.orig
|
|
+++ src/plugins.c
|
|
@@ -148,8 +148,8 @@ static int splt_p_filter_plugin_files(const struct dir
|
|
|
|
#ifndef __WIN32__
|
|
//gnu/linux .so.0
|
|
- p_end = strstr(file, ".so.0");
|
|
- if (p_end != NULL && (p_start == p_end) && (*(p_end+5) == '\0'))
|
|
+ p_end = strstr(file, ".so");
|
|
+ if (p_end != NULL && (p_start == p_end) && (*(p_end+3) == '\0'))
|
|
{
|
|
return 1;
|
|
}
|