summaryrefslogtreecommitdiff
path: root/rbutil/jztool/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/jztool/Makefile')
-rw-r--r--rbutil/jztool/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/rbutil/jztool/Makefile b/rbutil/jztool/Makefile
index aa434adf1f..6ab990d9d8 100644
--- a/rbutil/jztool/Makefile
+++ b/rbutil/jztool/Makefile
@@ -26,7 +26,9 @@ ifeq ($(findstring WIN32,$(CPPDEFINES)),WIN32)
# TODO: support Windows
else
ifeq ($(findstring APPLE,$(CPPDEFINES)),APPLE)
-# TODO: support OSX
+# OSX -- /opt location is cheesy attempt to support ARM macs
+CFLAGS += -I/usr/local/include -I/opt/homebrew/include
+LDOPTS += -L/usr/local/lib -L/opt/homebrew/lib -lusb-1.0
else
# Linux
CFLAGS += `pkg-config --cflags libusb-1.0`