diff options
Diffstat (limited to 'rbutil/rbutilqt/rbutilqt.pro')
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.pro | 8 |
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 { | |||
198 | win32:static { | 198 | win32:static { |
199 | QMAKE_LFLAGS += -static-libgcc -static-libstdc++ | 199 | QMAKE_LFLAGS += -static-libgcc -static-libstdc++ |
200 | } | 200 | } |
201 | unix:!static:!libusb0:!macx { | 201 | unix:!static:!macx { |
202 | DEFINES += LIBUSB1 | ||
203 | LIBS += -lusb-1.0 | 202 | LIBS += -lusb-1.0 |
204 | } | 203 | } |
205 | unix:!static:libusb0:!macx { | ||
206 | LIBS += -lusb | ||
207 | } | ||
208 | 204 | ||
209 | unix:!macx:static { | 205 | unix:!macx:static { |
210 | # force statically linking of libusb. Libraries that are appended | 206 | # force statically linking of libusb. Libraries that are appended |
211 | # later will get linked dynamically again. | 207 | # later will get linked dynamically again. |
212 | LIBS += -Wl,-Bstatic -lusb -Wl,-Bdynamic | 208 | LIBS += -Wl,-Bstatic -lusb-1.0 -Wl,-Bdynamic |
213 | } | 209 | } |
214 | 210 | ||
215 | # if -config intel is specified use 10.5 SDK and don't build for PPC | 211 | # if -config intel is specified use 10.5 SDK and don't build for PPC |