git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5f2e76b
)
Allow miniupnpc include path specificaiton and fix link on Win32.
author
Matt Corallo
<matt@bluematt.me>
Mon, 17 Oct 2011 04:09:22 +0000 (
00:09
-0400)
committer
Gavin Andresen
<gavinandresen@gmail.com>
Tue, 25 Oct 2011 15:51:57 +0000 (11:51 -0400)
bitcoin-qt.pro
patch
|
blob
|
history
diff --git
a/bitcoin-qt.pro
b/bitcoin-qt.pro
index
e7e10f7
..
62801fc
100644
(file)
--- 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"