diff options
Diffstat (limited to 'tool/rbinstall.rb')
-rwxr-xr-x | tool/rbinstall.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index df8600d332..cbefb0ebbc 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -904,7 +904,7 @@ module RbInstall RbInstall.no_write(options) {super} end - if RbConfig::CONFIG["LIBRUBY_RELATIVE"] == "yes" || RbConfig::CONFIG["CROSS_COMPILING"] == "yes" + if RbConfig::CONFIG["LIBRUBY_RELATIVE"] == "yes" || RbConfig::CONFIG["CROSS_COMPILING"] == "yes" || ENV["DESTDIR"] # TODO: always build extensions in bundled gems by build-ext and # install the built binaries. def build_extensions |