From 3244d40e8a53a1096c4890bbc3d9221f88c93f31 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Wed, 10 May 2023 12:13:15 -0700 Subject: [PATCH] Added note about --preserve-env [skip ci] --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c31c3df..e634428 100644 --- a/README.md +++ b/README.md @@ -355,7 +355,11 @@ If your machine has multiple Postgres installations, specify the path to [pg_con export PG_CONFIG=/Applications/Postgres.app/Contents/Versions/latest/bin/pg_config ``` -Then re-run the installation instructions (run `make clean` before `make` if needed) +Then re-run the installation instructions (run `make clean` before `make` if needed). If `sudo` is needed for `make install`, use: + +```sh +sudo --preserve-env=PG_CONFIG make install +``` ### Missing Header