summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSutou Kouhei <kou@clear-code.com>2021-12-08 08:47:12 +0900
committerSutou Kouhei <kou@clear-code.com>2021-12-08 08:47:12 +0900
commit58d4bfab6331573bce32c155c7826e9be3389cdf (patch)
treea8540a108274214fc1d000324a2de02ca314cacc
parentbcb78a21e1bf3d1d755c85b35f2ca2b1c010e140 (diff)
downloadrake-compiler-58d4bfab6331573bce32c155c7826e9be3389cdf.tar.gz
Ignore target_prefix= to ensure installing lib_dir
GitHub: fix GH-194 Reported by Andrew Kane. Thanks!!!
-rw-r--r--lib/rake/extensiontask.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rake/extensiontask.rb b/lib/rake/extensiontask.rb
index a854365..938e8e1 100644
--- a/lib/rake/extensiontask.rb
+++ b/lib/rake/extensiontask.rb
@@ -153,7 +153,7 @@ module Rake
task "copy:#{@name}:#{platf}:#{ruby_ver}" => [lib_binary_dir_path, tmp_binary_path, "#{tmp_path}/Makefile"] do
# install in lib for native platform only
unless for_platform
- sh "#{make} install", chdir: tmp_path
+ sh "#{make} install target_prefix=", chdir: tmp_path
end
end
# copy binary from temporary location to staging directory