Build: fix static link to hidapi

This commit is contained in:
MoroccanMalinois 2018-11-02 02:31:08 +01:00
parent 2641eda20a
commit d9280b1711
No known key found for this signature in database
GPG key ID: A63BDCF76B8B38BD

View file

@ -279,7 +279,10 @@ linux {
LIBS+= -Wl,-Bstatic
QMAKE_LFLAGS += -static-libgcc -static-libstdc++
# contains(QT_ARCH, x86_64) {
LIBS+= -lunbound
LIBS+= -lunbound \
-lusb-1.0 \
-lhidapi-hidraw \
-ludev
# }
} else {
# On some distro's we need to add dynload