forked from len0rd/rockbox
rbutil: Drop support for libusb0.
libusb1 is maintained and stable since years. No need to keep the old implementation around. Change-Id: I25a4c5643fc9a88eaad3e8f2f7e1dd705be080e0
This commit is contained in:
parent
729b6e4f33
commit
2fe046c380
2 changed files with 2 additions and 58 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue