Skip to content

Commit

Permalink
Fix library path for old rubygems
Browse files Browse the repository at this point in the history
  • Loading branch information
lloeki committed Jan 24, 2022
1 parent 2f426ff commit 57253f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/libv8-node/paths.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def object_paths
end

def platform
Gem::Platform.local.to_s.gsub(/-darwin-?\d+/, '-darwin')
Gem::Platform.local.tap { |p| RUBY_PLATFORM =~ /musl/ && p.version.nil? and p.instance_eval { @version = "musl" } }.to_s.gsub(/-darwin-?\d+/, '-darwin')
end

def config
Expand Down

0 comments on commit 57253f4

Please sign in to comment.