southbridgeio / tdlib-ruby

Ruby bindings and client for TDLib
MIT License
94 stars 45 forks source link

tdlib-ruby not working under *BSD #57

Open BSDer opened 2 years ago

BSDer commented 2 years ago

Hi, can you please patch so that the gem works under *BDS as well?

--- lib/tdlib/api.rb.old
+++ lib/tdlib/api.rb
@@ -80,6 +80,7 @@
       case os
       when :windows then 'dll'
       when :macos then 'dylib'
+      when :unix then 'so'
       when :linux then 'so'
       else raise "#{os} OS is not supported"
       end

Thank you.