Advertisement
Guest User

qthid build fix

a guest
Nov 16th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.63 KB | None | 0 0
  1. diff -u a/qthid.pro b/qthid.pro
  2. --- a/qthid.pro        2011-03-12 21:47:58.000000000 +0100
  3. +++ b/qthid.pro 2012-11-16 23:46:13.567377025 +0100
  4. @@ -37,7 +37,10 @@
  5.  
  6.  mac: SOURCES += hidmac.c
  7.  win32: SOURCES += hidwin.cpp
  8. -linux-g++: SOURCES +=hid-libusb.c
  9. +
  10. +linux-g++|linux-g++-64|glibc-g++ {
  11. +    SOURCES +=hid-libusb.c
  12. +}
  13.  
  14.  HEADERS  += mainwindow.h \
  15.      hidapi.h \
  16. @@ -50,7 +53,7 @@
  17.  win32:LIBS += "C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0\\Lib\\setupapi.lib"
  18.  
  19.  # libusb-1.0 on Linux uses pkg-config
  20. -linux-g++ {
  21. +linux-g++|linux-g++-64|glibc-g++ {
  22.      CONFIG += link_pkgconfig
  23.      PKGCONFIG += libusb-1.0
  24.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement