From 474cda03adb89edc41d4f06ba831a1d7d3905a87 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Sat, 8 Nov 2025 01:49:58 +0300 Subject: [PATCH] [makefile] homebrew: macOS on Intel uses old path --- Makefile.homebrew | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile.homebrew b/Makefile.homebrew index bc425eb3..63e94a95 100644 --- a/Makefile.homebrew +++ b/Makefile.homebrew @@ -1,6 +1,12 @@ # root directory holding homebrew -# brew install boost openssl@3 cmake make -BREWROOT = /opt/homebrew +# brew install boost openssl@3.5 cmake make + +ifeq ($(shell uname -m), x86_64) + BREWROOT = /usr/local +else + BREWROOT = /opt/homebrew +endif + BOOSTROOT = ${BREWROOT}/opt/boost SSLROOT = ${BREWROOT}/opt/openssl@3.5 UPNPROOT = ${BREWROOT}/opt/miniupnpc