From b97f79ec8fd7657fa6ecaa26e631b92857ae2221 Mon Sep 17 00:00:00 2001 From: Serge Vakulenko Date: Mon, 29 Oct 2018 14:39:47 -0700 Subject: [PATCH] No need for libudev on Mac. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 22fe1f7..28de3c1 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ CFLAGS = -g -O -Wall -Werror -DVERSION='"$(VERSION).$(GITCOUNT)"' LDFLAGS = -g OBJS = main.o util.o radio.o dfu-libusb.o uv380.o md380.o rd5r.o gd77.o hid.o serial.o d868uv.o -LIBS = -lusb-1.0 -ludev +LIBS = -lusb-1.0 # # Linux @@ -17,6 +17,7 @@ LIBS = -lusb-1.0 -ludev # ifeq ($(UNAME),Linux) OBJS += hid-libusb.o + LIBS += -ludev LIBUSB = /usr/lib/x86_64-linux-gnu/libusb-1.0.a ifeq ($(wildcard $(LIBUSB)),$(LIBUSB)) # Link libusb statically, when possible