Browse Source

Allow miniupnpc include path specificaiton and fix link on Win32.

miguelfreitas
Matt Corallo 13 years ago committed by Gavin Andresen
parent
commit
aaf71d8453
  1. 6
      bitcoin-qt.pro

6
bitcoin-qt.pro

@ -30,8 +30,10 @@ contains(USE_UPNP, -) {
count(USE_UPNP, 0) { count(USE_UPNP, 0) {
USE_UPNP=1 USE_UPNP=1
} }
DEFINES += USE_UPNP=$$USE_UPNP DEFINES += USE_UPNP=$$USE_UPNP STATICLIB
LIBS += -lminiupnpc INCLUDEPATH += $$MINIUPNPC_INCLUDE_PATH
LIBS += $$join(MINIUPNPC_LIB_PATH,,-L,) -lminiupnpc
win32:LIBS += -liphlpapi
} }
# use: qmake "USE_DBUS=1" # use: qmake "USE_DBUS=1"

Loading…
Cancel
Save