From 4de7c2730b35c280c2c1b8a9bb98d775d1751328 Mon Sep 17 00:00:00 2001 From: rhn Date: Tue, 31 Mar 2020 13:19:40 +0000 Subject: [PATCH] Use dynamic libusb on Linux Fedora uses libusbx, and doesn't come with a statically linked version. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 3994ab5..267c496 100644 --- a/makefile +++ b/makefile @@ -8,7 +8,7 @@ CCARCH = # Linux ifeq ($(UNAME),Linux) - LIBS += -Wl,-Bstatic -lusb-1.0 -Wl,-Bdynamic -lpthread -ludev + LIBS += -Wl,-Bdynamic -lusb-1.0 -lpthread -ludev HIDLIB = hidapi/libusb/.libs/libhidapi-libusb.a endif