From 9f1014a7ae80a0338d10a6152f2fee0e5a6e410d Mon Sep 17 00:00:00 2001 From: Conor Taylor Date: Mon, 31 May 2021 20:45:38 +0200 Subject: [PATCH] Fix macos build with versioned avr-gcc --- Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index c7d4fc0..6823733 100644 --- a/Makefile.common +++ b/Makefile.common @@ -66,7 +66,7 @@ ifeq (${shell uname}, Darwin) # That's for Homebrew libelf and avr-gcc support HOMEBREW_PREFIX ?= /usr/local ifeq (${shell test -d $(HOMEBREW_PREFIX)/Cellar && echo Exists}, Exists) - ifneq (${shell test -d $(HOMEBREW_PREFIX)/Cellar/avr-gcc/ && echo Exists}, Exists) + ifneq (${shell test -d $(HOMEBREW_PREFIX)/Cellar/avr-gcc* && echo Exists}, Exists) $(error Please install avr-gcc: brew tap osx-cross/homebrew-avr ; brew install avr-libc) endif ifneq (${shell test -d $(HOMEBREW_PREFIX)/Cellar/libelf/ && echo Exists}, Exists) -- 2.39.5