From 244962dbff6e5a42a4fc39710788a79f6a5aef5a Mon Sep 17 00:00:00 2001 From: "Jens L." Date: Thu, 15 Jan 2026 14:14:27 +0100 Subject: [PATCH] root: adjust makefile for non-brew macos (#19479) Signed-off-by: Jens Langhammer --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6d85a741d1..7e039ea752 100644 --- a/Makefile +++ b/Makefile @@ -46,8 +46,8 @@ ifeq ($(UNAME_S),Darwin) BREW_CPPFLAGS += -I${_krb5_pref}/include BREW_PKG_CONFIG_PATH = ${_krb5_pref}/lib/pkgconfig:$(PKG_CONFIG_PATH) endif + UV := LDFLAGS="$(BREW_LDFLAGS)" CPPFLAGS="$(BREW_CPPFLAGS)" PKG_CONFIG_PATH="$(BREW_PKG_CONFIG_PATH)" uv endif - UV := LDFLAGS="$(BREW_LDFLAGS)" CPPFLAGS="$(BREW_CPPFLAGS)" PKG_CONFIG_PATH="$(BREW_PKG_CONFIG_PATH)" uv endif all: lint-fix lint gen web test ## Lint, build, and test everything @@ -82,7 +82,7 @@ lint: ## Lint the python and golang sources golangci-lint run -v core-install: -ifeq ($(UNAME_S),Darwin) +ifdef ($(BREW_EXISTS)) # Clear cache to ensure fresh compilation $(UV) cache clean # Force compilation from source for lxml and xmlsec with correct environment