biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / gi-crystal / store-friendly-library-name.patch
blobc6fd4e18c8dbe5c78d0772da006e8493c878870b
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
3 @@ -10,7 +10,7 @@
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]
9 end
10 end