added missing ws2_32 to build testInetAddressUtils for 64-bit windows

This commit is contained in:
Matej Sekoranja
2014-01-31 11:39:30 +01:00
parent 6aeaadd240
commit 746a841289

View File

@@ -15,7 +15,10 @@ TESTS += testHexDump
TESTPROD_HOST += testInetAddressUtils
testInetAddressUtils = testInetAddressUtils.cpp
# Avoid errors from inlined htonl() etc. used as template argument
# TODO this is gcc only
testInetAddressUtils_CXXFLAGS = -O0
# needed for 64-bit Windows
testInetAddressUtils_SYS_LIBS_WIN32 += ws2_32
TESTS += testInetAddressUtils
TESTSCRIPTS_HOST += $(TESTS:%=%.t)