summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/rbutilqt.pro
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2010-09-05 18:19:23 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2010-09-05 18:19:23 +0000
commit40a6aef0c3fe9da2ba51b23404d9caed269afe7e (patch)
treee1c91f8d56a6e2918249570416f1e8df2ed21a88 /rbutil/rbutilqt/rbutilqt.pro
parentc196da2ceeddfc03a42e6a620aa08e3f583c8f0d (diff)
downloadrockbox-40a6aef0c3fe9da2ba51b23404d9caed269afe7e.tar.gz
rockbox-40a6aef0c3fe9da2ba51b23404d9caed269afe7e.tar.bz2
rockbox-40a6aef0c3fe9da2ba51b23404d9caed269afe7e.zip
Implement USB VID / PID retrieval using IOKit on OS X.
Instead of using libusb as wrapper query the USB IDs via IOKit. Since libusb is only used for that this means that it's no longer necessary on OS X. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28001 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.pro')
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro6
1 files changed, 3 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index ec440ab199..099a8ef7ab 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -132,10 +132,10 @@ DEFINES += RBUTIL _LARGEFILE64_SOURCE
win32 {
LIBS += -lsetupapi -lnetapi32
}
-unix:!static:!libusb1 {
+unix:!static:!libusb1:!macx {
LIBS += -lusb
}
-unix:!static:libusb1 {
+unix:!static:libusb1:!macx {
DEFINES += LIBUSB1
LIBS += -lusb-1.0
}
@@ -144,7 +144,7 @@ unix {
LIBS += -lz
}
-unix:static {
+unix:!macx:static {
# force statically linking of libusb. Libraries that are appended
# later will get linked dynamically again.
LIBS += -Wl,-Bstatic -lusb -Wl,-Bdynamic