diff --git a/README.md b/README.md index 506a3ab..20bd4e9 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ [![GitHub tag (with filter)](https://img.shields.io/github/v/tag/drhelius/Gearcoleco?label=version)](https://github.com/drhelius/Gearcoleco/releases) [![commits)](https://img.shields.io/github/commit-activity/t/drhelius/Gearcoleco)](https://github.com/drhelius/Gearcoleco/commits/main) [![GitHub contributors](https://img.shields.io/github/contributors/drhelius/Gearcoleco)](https://github.com/drhelius/Gearcoleco/graphs/contributors) +[![Percentage of issues still open](http://isitmaintained.com/badge/open/drhelius/gearcoleco.svg)](http://isitmaintained.com/project/drhelius/gearcoleco "Percentage of issues still open") +[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/drhelius/gearcoleco.svg)](http://isitmaintained.com/project/drhelius/gearcoleco "Average time to resolve an issue") [![GitHub Sponsors](https://img.shields.io/github/sponsors/drhelius)](https://github.com/sponsors/drhelius) [![GitHub](https://img.shields.io/github/license/drhelius/Gearcoleco)](https://github.com/drhelius/Gearcoleco/blob/main/LICENSE) [![Twitter Follow](https://img.shields.io/twitter/follow/drhelius)](https://twitter.com/drhelius) diff --git a/platforms/macos/Makefile b/platforms/macos/Makefile index 12b1b51..6b5937b 100644 --- a/platforms/macos/Makefile +++ b/platforms/macos/Makefile @@ -6,7 +6,14 @@ LDFLAGS += -framework AppKit -framework UniformTypeIdentifiers include ../desktop-shared/Makefile.common -DYLIB_PATH=/usr/local/opt/sdl2/lib +# Brew use a different path on Apple Silicon as on Intel +UNAME_P := $(shell uname -m) +ifneq ($(filter arm64%,$(UNAME_P)),) + DYLIB_PATH=/opt/homebrew/lib/ +else + DYLIB_PATH=/usr/local/opt/sdl2/lib +endif + SDL_DYLIB=libSDL2-2.0.0.dylib APP_NAME=Gearcoleco