5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
10 lines
No EOL
394 B
Diff
10 lines
No EOL
394 B
Diff
--- a/src/generator/lib_gen.cr 1969-12-31 17:00:01.000000000 -0700
|
|
+++ b/src/generator/lib_gen.cr 2023-07-14 11:48:41.509397114 -0600
|
|
@@ -10,7 +10,7 @@
|
|
|
|
private def libraries : Array(String)
|
|
namespace.shared_libraries.map do |library|
|
|
- library[/lib([^\/]+)\.(?:so|.+?\.dylib).*/, 1]
|
|
+ library[/(?:\/[^\/]*)+\/lib([^\/]+)\.(?:so|.+?\.dylib).*/, 1]
|
|
end
|
|
end
|