mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
10 lines
394 B
Diff
10 lines
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
|