From d9f9c1943edcef4881e77a4fa4c8d46c807dc270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Sun, 10 Nov 2024 02:51:47 -0500 Subject: [PATCH] Start getting sneaky detecting brew. If this works, we can use it for EVERYTHING! Baw ha ha! --- src/build/Common.gmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/build/Common.gmake b/src/build/Common.gmake index 7ed4b4829e..ecccad7b34 100644 --- a/src/build/Common.gmake +++ b/src/build/Common.gmake @@ -387,7 +387,7 @@ ifeq ($(os),darwin) CFLAGS += -D__unix__ -fno-common -D__DARWIN__ CFLAGS += -mmacosx-version-min=$(MIN_MAC_OSX_VERSION) LDFLAGS += -mmacosx-version-min=$(MIN_MAC_OSX_VERSION) - ifeq ($(shell brew --prefix && echo "Yes"),"Yes") + ifneq (,$(shell which brew)) CFLAGS += -I$(shell brew --prefix)/include CFLAGS += -L$(shell brew --prefix)/lib endif -- GitLab