Revert "Enable patchelf.rb for HOMEBREW_DEVELOPERs."

This reverts commit 6106bfc4976dff2b03cf3fadbbf92dd1fd9e0f09.

Fix the error:
brew install patchelf
==> Pouring patchelf-0.10.x86_64_linux.bottle.1.tar.gz
Error: cannot load such file -- patchelf
This commit is contained in:
Shaun Jackman 2020-06-22 14:14:33 -07:00
parent b79e047e12
commit de6fe2edc1

View File

@ -1,8 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
# enables experimental readelf.rb, patchelf support. # enables experimental readelf.rb, patchelf support.
HOMEBREW_PATCHELF_RB = (ENV["HOMEBREW_PATCHELF_RB"].present? || HOMEBREW_PATCHELF_RB = ENV["HOMEBREW_PATCHELF_RB"].present?.freeze
(ENV["HOMEBREW_DEVELOPER"].present? && ENV["HOMEBREW_NO_PATCHELF_RB"].blank?)).freeze
module Homebrew module Homebrew
DEFAULT_PREFIX ||= if Homebrew::EnvConfig.force_homebrew_on_linux? DEFAULT_PREFIX ||= if Homebrew::EnvConfig.force_homebrew_on_linux?