From c97cd684e0d925cc21d9e484c6d65ba69629b458 Mon Sep 17 00:00:00 2001 From: Thang Pham Date: Tue, 31 May 2022 11:20:51 -0400 Subject: [PATCH] Use `HOMEBREW_PREFIX` instead of hard-coded path (#1833) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e3d183eaee..50e2c8ab7f 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ endif # macOS with brew-installed openssl requires explicit paths UNAME_S := $(shell uname -s) ifeq ($(UNAME_S),Darwin) - PG_CONFIGURE_OPTS += --with-includes=/usr/local/opt/openssl/include --with-libraries=/usr/local/opt/openssl/lib + PG_CONFIGURE_OPTS += --with-includes=$(HOMEBREW_PREFIX)/opt/openssl/include --with-libraries=$(HOMEBREW_PREFIX)/opt/openssl/lib endif # Choose whether we should be silent or verbose