We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5ab12c + 773ed65 commit 25546f8Copy full SHA for 25546f8
ext/mysql2/extconf.rb
@@ -34,7 +34,7 @@ def asplode lib
34
# Ruby versions not incorporating the mkmf fix at
35
# https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/39717
36
# do not properly search for lib directories, and must be corrected
37
- unless lib[-3, 3] == 'lib'
+ unless lib && lib[-3, 3] == 'lib'
38
@libdir_basename = 'lib'
39
inc, lib = dir_config('mysql')
40
end
0 commit comments