From: Matt Corallo Date: Mon, 17 Oct 2011 04:09:22 +0000 (-0400) Subject: Allow miniupnpc include path specificaiton and fix link on Win32. X-Git-Tag: v0.4.0-unstable~226^2~72 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=aaf71d8453efe64bb307a63b3b560f84e511f18b Allow miniupnpc include path specificaiton and fix link on Win32. --- diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro index e7e10f7..62801fc 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"