Skip to content

Commit

Permalink
docs: Improve portability of brew prefix (#667)
Browse files Browse the repository at this point in the history
homebrew's prefix can vary - with this minor change, the pkgconfig path
should work in more user environments.
  • Loading branch information
davemcphee committed Nov 15, 2023
1 parent 2e86cce commit 3805b28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ If you don't want to install MySQL server, you can use mysql-client instead:
```bash
$ # Assume you are activating Python 3 venv
$ brew install mysql-client pkg-config
$ export PKG_CONFIG_PATH="/opt/homebrew/opt/mysql-client/lib/pkgconfig"
$ export PKG_CONFIG_PATH="$(brew --prefix)/opt/mysql-client/lib/pkgconfig"
$ pip install mysqlclient
```

Expand Down

0 comments on commit 3805b28

Please sign in to comment.