mirror of
https://github.com/gosticks/brew.git
synced 2026-09-01 22:40:30 +00:00
This reverts commit 6106bfc497.
Fix the error:
brew install patchelf
==> Pouring patchelf-0.10.x86_64_linux.bottle.1.tar.gz
Error: cannot load such file -- patchelf
13 lines
318 B
Ruby
13 lines
318 B
Ruby
# frozen_string_literal: true
|
|
|
|
# enables experimental readelf.rb, patchelf support.
|
|
HOMEBREW_PATCHELF_RB = ENV["HOMEBREW_PATCHELF_RB"].present?.freeze
|
|
|
|
module Homebrew
|
|
DEFAULT_PREFIX ||= if Homebrew::EnvConfig.force_homebrew_on_linux?
|
|
HOMEBREW_DEFAULT_PREFIX
|
|
else
|
|
LINUXBREW_DEFAULT_PREFIX
|
|
end.freeze
|
|
end
|