diff options
Diffstat (limited to 'rbutil/jztool/Makefile')
-rw-r--r-- | rbutil/jztool/Makefile | 4 |
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) | |||
26 | # TODO: support Windows | 26 | # TODO: support Windows |
27 | else | 27 | else |
28 | ifeq ($(findstring APPLE,$(CPPDEFINES)),APPLE) | 28 | ifeq ($(findstring APPLE,$(CPPDEFINES)),APPLE) |
29 | # TODO: support OSX | 29 | # OSX -- /opt location is cheesy attempt to support ARM macs |
30 | CFLAGS += -I/usr/local/include -I/opt/homebrew/include | ||
31 | LDOPTS += -L/usr/local/lib -L/opt/homebrew/lib -lusb-1.0 | ||
30 | else | 32 | else |
31 | # Linux | 33 | # Linux |
32 | CFLAGS += `pkg-config --cflags libusb-1.0` | 34 | CFLAGS += `pkg-config --cflags libusb-1.0` |