diff bitcoin-qt.pro @ 1442:79c9b6b0acad draft

Allow miniupnpc include path specificaiton and fix link on Win32.
author Matt Corallo <matt@bluematt.me>
date Mon, 17 Oct 2011 00:09:22 -0400 (2011-10-17)
parents 97ecb9f6657f
children fb8f0cb977a5
line wrap: on
line diff
--- a/bitcoin-qt.pro
+++ b/bitcoin-qt.pro
@@ -30,8 +30,10 @@
     count(USE_UPNP, 0) {
         USE_UPNP=1
     }
-    DEFINES += USE_UPNP=$$USE_UPNP
-    LIBS += -lminiupnpc
+    DEFINES += USE_UPNP=$$USE_UPNP STATICLIB
+    INCLUDEPATH += $$MINIUPNPC_INCLUDE_PATH
+    LIBS += $$join(MINIUPNPC_LIB_PATH,,-L,) -lminiupnpc
+    win32:LIBS += -liphlpapi
 }
 
 # use: qmake "USE_DBUS=1"