summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSutou Kouhei <kou@clear-code.com>2020-12-21 04:30:44 +0900
committerSutou Kouhei <kou@clear-code.com>2020-12-21 04:32:02 +0900
commit15f630adc4325f9cafb762e15a051c2ec8bd21e2 (patch)
treec5123089521e19e326792db15e121f7215fc1ab4
parent32ab43b9d81333c52b6bf49c622a142cfba040e5 (diff)
downloadrake-compiler-15f630adc4325f9cafb762e15a051c2ec8bd21e2.tar.gz
Use RAKE_EXTENSION_TASK_NO_NATIVE env var as the default value
-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 b0ab88e..49d59da 100644
--- a/lib/rake/extensiontask.rb
+++ b/lib/rake/extensiontask.rb
@@ -23,7 +23,7 @@ module Rake
@cross_compile = false
@cross_config_options = []
@cross_compiling = nil
- @no_native = false
+ @no_native = (ENV["RAKE_EXTENSION_TASK_NO_NATIVE"] == "true")
@config_includes = []
@ruby_versions_per_platform = {}
@make = nil