Skip to content

Commit

Permalink
Remove references to openssl from building on macOS docs. (#24952)
Browse files Browse the repository at this point in the history
We are now defaulting to boringssl (which is a submodule), so no need to mess
with openssl.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Jul 11, 2023
1 parent fa79a11 commit 1453dbc
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions docs/guides/BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,34 +50,7 @@ sudo apt-get install git gcc g++ pkg-config libssl-dev libdbus-1-dev \

### Installing prerequisites on macOS

On macOS, first install Xcode from the Mac App Store. The remaining dependencies
can be installed and satisfied using [Brew](https://brew.sh/):

```
brew install openssl pkg-config
```

However, that does not expose the package to `pkg-config`. To fix that, one
needs to run something like the following:

Intel:

```
cd /usr/local/lib/pkgconfig
ln -s ../../Cellar/[email protected]/1.1.1g/lib/pkgconfig/* .
```

where `[email protected]/1.1.1g` may need to be replaced with the actual version of
OpenSSL installed by Brew.

Apple Silicon:

```
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:"/opt/homebrew/opt/openssl@3/lib/pkgconfig"
```

Note: If using MacPorts, `port install openssl` is sufficient to satisfy this
dependency.
On macOS, install Xcode from the Mac App Store.

### Installing prerequisites on Raspberry Pi 4

Expand Down

0 comments on commit 1453dbc

Please sign in to comment.