From a3d3a2326f77b007fb30039c0d150367c15295a1 Mon Sep 17 00:00:00 2001 From: Jonathan Giles Date: Thu, 14 Jul 2022 16:50:32 -0400 Subject: [PATCH] Add include path so that libusb headers found on OSX. --- src/platforms/hosted/Makefile.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platforms/hosted/Makefile.inc b/src/platforms/hosted/Makefile.inc index 03858cd..254b9af 100644 --- a/src/platforms/hosted/Makefile.inc +++ b/src/platforms/hosted/Makefile.inc @@ -45,6 +45,7 @@ else ifneq (, $(findstring cygwin, $(SYS))) else ifneq (filter, macosx darwin, $(SYS)) SRC += serial_unix.c LDFLAGS += -framework CoreFoundation + CFLAGS += -I /opt/homebrew/include -I /opt/homebrew/include/libusb-1.0 endif ifneq ($(HOSTED_BMP_ONLY), 1)