explicit DISABLE_HOMEBREW

This commit is contained in:
Andrey Rudenko
2024-04-29 18:57:47 +02:00
parent 2adf5a0d2a
commit 63f0b0bec9
2 changed files with 3 additions and 2 deletions

View File

@@ -25,8 +25,7 @@ ifeq ($(UNAME_S),Linux)
# Seccomp BPF is only available for Linux
PG_CONFIGURE_OPTS += --with-libseccomp
else ifeq ($(UNAME_S),Darwin)
BREW_INSTALLED := $(shell command -v brew >/dev/null 2>&1 && echo yes || echo no)
ifeq ($(BREW_INSTALLED),yes)
ifndef DISABLE_HOMEBREW
# macOS with brew-installed openssl requires explicit paths
# It can be configured with OPENSSL_PREFIX variable
OPENSSL_PREFIX ?= $(shell brew --prefix openssl@3)

View File

@@ -40,6 +40,8 @@
curl
];
env.DISABLE_HOMEBREW = "1";
scripts = {
neonmake = {
description = "Build Neon";