mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Stop build_extensions
when DESTDIR set
Try to fix `make install without root privilege` failures on snapshot CIs.
example: 2315349280
This commit is contained in:
parent
ebaf56c013
commit
2d1032075a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue