libwinpr-winsock: fix non-monolithic build

This commit is contained in:
Marc-André Moreau 2014-06-01 22:25:19 -04:00
parent abd475060c
commit cd149ed167
3 changed files with 8 additions and 2 deletions

View File

@ -21,6 +21,10 @@ set(MODULE_PREFIX "WINPR_WINSOCK")
set(${MODULE_PREFIX}_SRCS
winsock.c)
if(MSVC AND (NOT MONOLITHIC_BUILD))
set(${MODULE_PREFIX}_SRCS ${${MODULE_PREFIX}_SRCS} module.def)
endif()
add_complex_library(MODULE ${MODULE_NAME} TYPE "OBJECT"
MONOLITHIC ${MONOLITHIC_BUILD}
SOURCES ${${MODULE_PREFIX}_SRCS}

View File

@ -3,7 +3,6 @@ set(MINWIN_LAYER "0")
set(MINWIN_GROUP "none")
set(MINWIN_MAJOR_VERSION "0")
set(MINWIN_MINOR_VERSION "0")
set(MINWIN_SHORT_NAME "ws2_32")
set(MINWIN_SHORT_NAME "winsock")
set(MINWIN_LONG_NAME "Windows Sockets (Winsock)")
set(MODULE_LIBRARY_NAME "${MINWIN_SHORT_NAME}")

View File

@ -0,0 +1,3 @@
LIBRARY "libwinpr-winsock"
EXPORTS