mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
On Windows link with mswsock
, it being required (indirectly) by RPC code
Signed-off-by: Giel van Schijndel <me@mortis.eu>
This commit is contained in:
parent
ad25804feb
commit
5b14622110
@ -306,7 +306,7 @@ isEmpty(BOOST_INCLUDE_PATH) {
|
|||||||
macx:BOOST_INCLUDE_PATH = /opt/local/include
|
macx:BOOST_INCLUDE_PATH = /opt/local/include
|
||||||
}
|
}
|
||||||
|
|
||||||
windows:LIBS += -lws2_32 -lshlwapi
|
windows:LIBS += -lws2_32 -lshlwapi -lmswsock
|
||||||
windows:DEFINES += WIN32
|
windows:DEFINES += WIN32
|
||||||
windows:RC_FILE = src/qt/res/bitcoin-qt.rc
|
windows:RC_FILE = src/qt/res/bitcoin-qt.rc
|
||||||
|
|
||||||
|
@ -39,7 +39,7 @@ ifdef USE_UPNP
|
|||||||
DEFS += -DSTATICLIB -DUSE_UPNP=$(USE_UPNP)
|
DEFS += -DSTATICLIB -DUSE_UPNP=$(USE_UPNP)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIBS += -l mingwthrd -l kernel32 -l user32 -l gdi32 -l comdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l shlwapi
|
LIBS += -l mingwthrd -l kernel32 -l user32 -l gdi32 -l comdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l mswsock -l shlwapi
|
||||||
|
|
||||||
# TODO: make the mingw builds smarter about dependencies, like the linux/osx builds are
|
# TODO: make the mingw builds smarter about dependencies, like the linux/osx builds are
|
||||||
HEADERS = $(wildcard *.h)
|
HEADERS = $(wildcard *.h)
|
||||||
|
@ -36,7 +36,7 @@ ifdef USE_UPNP
|
|||||||
DEFS += -DSTATICLIB -DUSE_UPNP=$(USE_UPNP)
|
DEFS += -DSTATICLIB -DUSE_UPNP=$(USE_UPNP)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LIBS += -l kernel32 -l user32 -l gdi32 -l comdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l shlwapi
|
LIBS += -l kernel32 -l user32 -l gdi32 -l comdlg32 -l winspool -l winmm -l shell32 -l comctl32 -l ole32 -l oleaut32 -l uuid -l rpcrt4 -l advapi32 -l ws2_32 -l mswsock -l shlwapi
|
||||||
|
|
||||||
# TODO: make the mingw builds smarter about dependencies, like the linux/osx builds are
|
# TODO: make the mingw builds smarter about dependencies, like the linux/osx builds are
|
||||||
HEADERS = $(wildcard *.h)
|
HEADERS = $(wildcard *.h)
|
||||||
|
Loading…
Reference in New Issue
Block a user