All pastes #735356 Raw Edit

Untitled

public text v1 · immutable
#735356 ·published 2007-10-13 15:42 UTC
rendered paste body
Index: rbutilqt/rbutilqt.pro
===================================================================
--- rbutilqt/rbutilqt.pro       (revision 15090)
+++ rbutilqt/rbutilqt.pro       (working copy)
@@ -74,7 +74,7 @@
  preview.h 
  
 # Needed by QT on Win
-INCLUDEPATH = . irivertools zip zlib ../ipodpatcher ../sansapatcher
+INCLUDEPATH = . irivertools zip zlib ../ipodpatcher ../sansapatcher /usr/local/include
  
 TEMPLATE = app
 dbg {
@@ -121,12 +121,13 @@
 unix {
     SOURCES +=  ../ipodpatcher/ipodio-posix.c
     SOURCES +=  ../sansapatcher/sansaio-posix.c
-    LIBS += -lusb
+    LIBS += -lusb -L/usr/local/lib
 }
 
 macx {
     QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
-    CONFIG+=x86 ppc
+    CONFIG+=x86
+    LIBS += -L/usr/local/lib -lusb -framework IOKit
 }
 
 static {