wfreerdp: fix build on Windows
This commit is contained in:
parent
1931c0d241
commit
b97b40a91e
@ -21,6 +21,10 @@ set(MODULE_PREFIX "WINPR_FILE")
|
||||
set(${MODULE_PREFIX}_SRCS
|
||||
file.c)
|
||||
|
||||
if(MSVC AND (NOT MONOLITHIC_BUILD))
|
||||
set(${MODULE_PREFIX}_SRCS ${${MODULE_PREFIX}_SRCS} module.def)
|
||||
endif()
|
||||
|
||||
if(MONOLITHIC_BUILD)
|
||||
add_library(${MODULE_NAME} OBJECT ${${MODULE_PREFIX}_SRCS})
|
||||
else()
|
||||
|
2
winpr/libwinpr/file/module.def
Normal file
2
winpr/libwinpr/file/module.def
Normal file
@ -0,0 +1,2 @@
|
||||
LIBRARY "libwinpr-file"
|
||||
EXPORTS
|
@ -23,6 +23,10 @@ set(${MODULE_PREFIX}_SRCS
|
||||
registry_reg.h
|
||||
registry.c)
|
||||
|
||||
if(MSVC AND (NOT MONOLITHIC_BUILD))
|
||||
set(${MODULE_PREFIX}_SRCS ${${MODULE_PREFIX}_SRCS} module.def)
|
||||
endif()
|
||||
|
||||
if(MONOLITHIC_BUILD)
|
||||
add_library(${MODULE_NAME} OBJECT ${${MODULE_PREFIX}_SRCS})
|
||||
else()
|
||||
|
2
winpr/libwinpr/registry/module.def
Normal file
2
winpr/libwinpr/registry/module.def
Normal file
@ -0,0 +1,2 @@
|
||||
LIBRARY "libwinpr-registry"
|
||||
EXPORTS
|
Loading…
Reference in New Issue
Block a user