Skip to content

Commit 8a9d4d4

Browse files
committed
Allow libdir to match Rubies with double digit patch numbers
1 parent d993330 commit 8a9d4d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Rake::ExtensionTask.new do |ext|
2020
ext.gem_spec = spec
2121
ext.name = SO_NAME
2222
ext.ext_dir = "ext/libxml"
23-
ext.lib_dir = "lib/#{RUBY_VERSION.sub(/\.\d$/, '')}"
23+
ext.lib_dir = "lib/#{RUBY_VERSION.sub(/\.\d+$/, '')}"
2424
if RUBY_PLATFORM.match(/mswin|mingw/)
2525
ext.config_options <<
2626
if (dir = ENV['WINDOWS_XML2_INCLUDE'])

0 commit comments

Comments
 (0)