Skip to content

Commit

Permalink
Support alpine 3.19 and up (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuk09 authored Jun 11, 2024
1 parent b97bfaa commit c246588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rbnacl/init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module RbNaCl
# Defines the libsodium init function
module Init
extend FFI::Library
ffi_lib ["sodium", "libsodium.so.18", "libsodium.so.23"]
ffi_lib ["sodium", "libsodium.so.18", "libsodium.so.23", "libsodium.so.26"]

attach_function :sodium_init, [], :int
end
Expand Down
2 changes: 1 addition & 1 deletion lib/rbnacl/sodium.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module RbNaCl
module Sodium
def self.extended(klass)
klass.extend FFI::Library
klass.ffi_lib ["sodium", "libsodium.so.18", "libsodium.so.23"]
klass.ffi_lib ["sodium", "libsodium.so.18", "libsodium.so.23", "libsodium.so.26"]
end

def sodium_type(type = nil)
Expand Down

0 comments on commit c246588

Please sign in to comment.