Add explicit linking to libudev on Linux, as the code in serial.c needs it.

This commit is contained in:
Serge Vakulenko 2018-10-29 11:30:25 -07:00
parent e4c3c3f920
commit 4924d00283

View File

@ -7,7 +7,7 @@ CFLAGS = -g -O -Wall -Werror -DVERSION='"$(VERSION).$(GITCOUNT)"'
LDFLAGS = -g 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 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 LIBS = -lusb-1.0 -ludev
# #
# Linux # Linux