1 --- a/src/generator/lib_gen.cr 1969-12-31 17:00:01.000000000 -0700
2 +++ b/src/generator/lib_gen.cr 2023-07-14 11:48:41.509397114 -0600
5 private def libraries : Array(String)
6 namespace.shared_libraries.map do |library|
7 - library[/lib([^\/]+)\.(?:so|.+?\.dylib).*/, 1]
8 + library[/(?:\/[^\/]*)+\/lib([^\/]+)\.(?:so|.+?\.dylib).*/, 1]