diff options
| author | joakin <joaquin@chimeces.com> | 2024-04-03 14:03:56 +0200 |
|---|---|---|
| committer | joakin <joaquin@chimeces.com> | 2024-04-19 13:35:53 +0200 |
| commit | 60ef4fda4dd71e5474bb2598c4e0d18c58924e99 (patch) | |
| tree | 1c9e603ad15a67d236a1ae607b0f1f56edd50159 /src/parser.cpp | |
| parent | 1b143b9fa3d0302cda639abf72c7b5db1b7c1c41 (diff) | |
Recognize dynamic library names like libraylib.so.5.0.0
Diffstat (limited to 'src/parser.cpp')
| -rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index f4d3dc48d..2bf25c768 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -5710,7 +5710,7 @@ gb_internal bool determine_path_from_string(BlockingMutex *file_mutex, Ast *node // working directory of the exe to the library search paths. // Static libraries can be linked directly with the full pathname // - if (node->kind == Ast_ForeignImportDecl && string_ends_with(file_str, str_lit(".so"))) { + if (node->kind == Ast_ForeignImportDecl && (string_ends_with(file_str, str_lit(".so")) || string_contains_string(file_str, str_lit(".so.")))) { *path = file_str; return true; } |