summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.pro
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-06-09 19:32:07 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-07 22:18:41 +0200
commit2fe046c38035db78610ffd0db48d8163a46cb252 (patch)
tree3a7c125338a403d04c976e7d72470e51f20fbbf1 /rbutil/rbutilqt/rbutilqt.pro
parent729b6e4f33419489415a6111bb98e5d95221a338 (diff)
downloadrockbox-2fe046c38035db78610ffd0db48d8163a46cb252.tar.gz
rockbox-2fe046c38035db78610ffd0db48d8163a46cb252.tar.bz2
rockbox-2fe046c38035db78610ffd0db48d8163a46cb252.zip
rbutil: Drop support for libusb0.
libusb1 is maintained and stable since years. No need to keep the old implementation around. Change-Id: I25a4c5643fc9a88eaad3e8f2f7e1dd705be080e0
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.pro')
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro8
1 files changed, 2 insertions, 6 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index 5897743199..a251db1042 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -198,18 +198,14 @@ win32 {
win32:static {
QMAKE_LFLAGS += -static-libgcc -static-libstdc++
}
-unix:!static:!libusb0:!macx {
- DEFINES += LIBUSB1
+unix:!static:!macx {
LIBS += -lusb-1.0
}
-unix:!static:libusb0:!macx {
- LIBS += -lusb
-}
unix:!macx:static {
# force statically linking of libusb. Libraries that are appended
# later will get linked dynamically again.
- LIBS += -Wl,-Bstatic -lusb -Wl,-Bdynamic
+ LIBS += -Wl,-Bstatic -lusb-1.0 -Wl,-Bdynamic
}
# if -config intel is specified use 10.5 SDK and don't build for PPC