mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Support libusb-1.0.
Use "qmake -config libusb1" to use libusb-1.0 instead of libusb-0.1. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22205 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bd5b744a6d
commit
363cbc22b5
2 changed files with 49 additions and 1 deletions
|
|
@ -209,9 +209,14 @@ unix {
|
|||
SOURCES += ../ipodpatcher/ipodio-posix.c
|
||||
SOURCES += ../sansapatcher/sansaio-posix.c
|
||||
}
|
||||
unix:!static {
|
||||
unix:!static:!libusb1 {
|
||||
LIBS += -lusb
|
||||
}
|
||||
unix:!static:libusb1 {
|
||||
DEFINES += LIBUSB1
|
||||
LIBS += -lusb-1.0
|
||||
}
|
||||
|
||||
unix:static {
|
||||
# force statically linking of libusb. Libraries that are appended
|
||||
# later will get linked dynamically again.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue