Merge pull request #1717

d9280b1 Build: fix static link to hidapi (MoroccanMalinois)
This commit is contained in:
luigi1111
2018-11-20 17:58:24 -06:00

View File

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