mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Fix extension installer for out-of-place build
https://github.com/ruby/ruby/pull/9673#issuecomment-2019028293
This commit is contained in:
parent
de742b425f
commit
b39057f32c
@ -588,7 +588,12 @@ module RbInstall
|
||||
end
|
||||
|
||||
def makefile_path
|
||||
"#{makefile_dir}/Makefile"
|
||||
if File.exist?("#{makefile_dir}/Makefile")
|
||||
"#{makefile_dir}/Makefile"
|
||||
else
|
||||
# for out-of-place build
|
||||
"#{$ext_build_dir}/#{relative_base}/Makefile"
|
||||
end
|
||||
end
|
||||
|
||||
def makefile_dir
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user