always need to link with netapi32 now
This commit is contained in:
@ -30,7 +30,7 @@ pvlist_SRCS += pvlist.cpp
|
||||
|
||||
PROD_LIBS += pvAccessCA pvAccess pvData ca Com
|
||||
|
||||
PROD_SYS_LIBS_WIN32 += ws2_32
|
||||
PROD_SYS_LIBS_WIN32 += netapi32 ws2_32
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
#----------------------------------------
|
||||
|
@ -7,7 +7,7 @@ pvAccessCA_LIBS += pvAccess pvData ca Com
|
||||
SHRLIB_VERSION ?= $(EPICS_PVA_MAJOR_VERSION).$(EPICS_PVA_MINOR_VERSION).$(EPICS_PVA_MAINTENANCE_VERSION)
|
||||
|
||||
# needed for Windows
|
||||
LIB_SYS_LIBS_WIN32 += ws2_32
|
||||
LIB_SYS_LIBS_WIN32 += netapi32 ws2_32
|
||||
|
||||
INC += pv/caProvider.h
|
||||
|
||||
|
@ -10,7 +10,7 @@ TESTS += testChannelAccess
|
||||
TESTPROD_HOST += testCodec
|
||||
testCodec_SRCS = testCodec
|
||||
testHarness_SRCS += testCodec.cpp
|
||||
testCodec_SYS_LIBS_WIN32 += ws2_32
|
||||
testCodec_SYS_LIBS_WIN32 += netapi32 ws2_32
|
||||
TESTS += testCodec
|
||||
|
||||
TESTPROD_HOST += testRPC
|
||||
|
@ -18,13 +18,13 @@ testInetAddressUtils = testInetAddressUtils.cpp
|
||||
# TODO this is gcc only
|
||||
testInetAddressUtils_CXXFLAGS = -O0
|
||||
# needed for 64-bit Windows
|
||||
testInetAddressUtils_SYS_LIBS_WIN32 += ws2_32
|
||||
testInetAddressUtils_SYS_LIBS_WIN32 += netapi32 ws2_32
|
||||
testHarness_SRCS += testInetAddressUtils.cpp
|
||||
TESTS += testInetAddressUtils
|
||||
|
||||
TESTPROD_HOST += configurationTest
|
||||
configurationTest_SRCS += configurationTest.cpp
|
||||
configurationTest_SYS_LIBS_WIN32 += ws2_32
|
||||
configurationTest_SYS_LIBS_WIN32 += netapi32 ws2_32
|
||||
#testHarness_SRCS += configurationTest.cpp
|
||||
TESTS += configurationTest
|
||||
|
||||
|
Reference in New Issue
Block a user