patchelf.rb reading for everyone :)

This commit is contained in:
rmnull 2020-08-07 04:48:03 +05:30
parent e0ffc45954
commit 0c2d7659cf
No known key found for this signature in database
GPG Key ID: 35BAB82D31EFAD91
2 changed files with 1 additions and 6 deletions

View File

@ -284,11 +284,6 @@ export HOMEBREW_USER_AGENT
export HOMEBREW_USER_AGENT_CURL
export HOMEBREW_BOTTLE_DEFAULT_DOMAIN
if [[ -n "$HOMEBREW_DEVELOPER" ]] && [[ -z "$HOMEBREW_NO_PATCHELF_RB" ]]
then
export HOMEBREW_PATCHELF_RB="1"
fi
if [[ -n "$HOMEBREW_MACOS" && -x "/usr/bin/xcode-select" ]]
then
XCODE_SELECT_PATH=$('/usr/bin/xcode-select' --print-path 2>/dev/null)

View File

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