mirror of https://github.com/FreeRDP/FreeRDP
libwinpr-winsock: fix non-monolithic build
This commit is contained in:
parent
abd475060c
commit
cd149ed167
|
@ -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}
|
||||
|
|
|
@ -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}")
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
LIBRARY "libwinpr-winsock"
|
||||
EXPORTS
|
||||
|
Loading…
Reference in New Issue