From 85b8689d391bea74a465eef113bab50122a4f5e8 Mon Sep 17 00:00:00 2001 From: NiLuJe Date: Thu, 12 Dec 2024 22:20:22 +0100 Subject: [PATCH] [doc] Update macOS PATH shenanigans (#12873) Drop the sentence about brew being in PATH altogether: you wouldn't even be able to invoke brew at all if this weren't already the case. Fix #12868 --- doc/Building.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/Building.md b/doc/Building.md index 7aa94ce8c..11265a3f5 100644 --- a/doc/Building.md +++ b/doc/Building.md @@ -101,11 +101,6 @@ You will also have to ensure Homebrew's findutils, gnu-getopt, make & util-linux export PATH="$(brew --prefix)/opt/findutils/libexec/gnubin:$(brew --prefix)/opt/gnu-getopt/bin:$(brew --prefix)/opt/make/libexec/gnubin:$(brew --prefix)/opt/util-linux/bin:${PATH}" ``` -In the same vein, if that's not already the case, you probably also want to make sure Homebrew's stuff takes precedence: -``` -export PATH="/usr/local/bin:/usr/local/sbin:${PATH/:\/usr\/local\/bin/}" -``` - *Note:* With current XCode versions, you *will* need to set a minimum deployment version higher than `10.04`. Otherwise, you'll hit various linking errors related to missing unwinding libraries/symbols. On Mojave, `10.09` has been known to behave with XCode 10, And `10.14` with XCode 11. When in doubt, go with your current macOS version. ```