[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
This commit is contained in:
NiLuJe
2024-12-12 22:20:22 +01:00
committed by GitHub
parent f232b0e8e6
commit 85b8689d39

View File

@@ -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.
```