diff --git a/Makefile b/Makefile index dc5fda10..6b1e40dd 100644 --- a/Makefile +++ b/Makefile @@ -128,6 +128,10 @@ ifeq ($(PTT_INCLUDE),PTT) PTT_OPTIONS=-D PTT endif +ifeq ($(UNAME_S), Darwin) +GPIO_INCLUDE= +endif + ifeq ($(GPIO_INCLUDE),GPIO) GPIO_OPTIONS=-D GPIO GPIOD_VERSION=$(shell pkg-config --modversion libgpiod)