diff options
author | Matt Corallo <matt@bluematt.me> | 2011-10-17 00:09:22 -0400 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-10-25 11:51:57 -0400 |
commit | aaf71d8453efe64bb307a63b3b560f84e511f18b (patch) | |
tree | 28ff4019c286e0b9bf8a4b388f4ba75d19a67612 | |
parent | 5f2e76b8c777785a80f171d825cfddb213320f9a (diff) |
Allow miniupnpc include path specificaiton and fix link on Win32.
-rw-r--r-- | bitcoin-qt.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro index e7e10f7203..62801fc5d9 100644 --- a/bitcoin-qt.pro +++ b/bitcoin-qt.pro @@ -30,8 +30,10 @@ contains(USE_UPNP, -) { 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" |