diff options
author | Sutou Kouhei <kou@clear-code.com> | 2020-12-21 04:30:44 +0900 |
---|---|---|
committer | Sutou Kouhei <kou@clear-code.com> | 2020-12-21 04:32:02 +0900 |
commit | 15f630adc4325f9cafb762e15a051c2ec8bd21e2 (patch) | |
tree | c5123089521e19e326792db15e121f7215fc1ab4 | |
parent | 32ab43b9d81333c52b6bf49c622a142cfba040e5 (diff) | |
download | rake-compiler-15f630adc4325f9cafb762e15a051c2ec8bd21e2.tar.gz |
Use RAKE_EXTENSION_TASK_NO_NATIVE env var as the default value
-rw-r--r-- | lib/rake/extensiontask.rb | 2 |
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 |