mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[WINSRV] Delay-load psapi.dll
Note that it is used only in debug builds in order to display the list of processes being terminated in the debug log.
This commit is contained in:
parent
2c0af91ba1
commit
59f8611321
3 changed files with 5 additions and 4 deletions
|
@ -29,7 +29,7 @@ target_link_libraries(winsrv consrv usersrv)
|
||||||
# Add win32ksys because of NtUser...()
|
# Add win32ksys because of NtUser...()
|
||||||
target_link_libraries(winsrv ${CONSRV_TARGET_LINK_LIBS} win32ksys libcntpr ${PSEH_LIB})
|
target_link_libraries(winsrv ${CONSRV_TARGET_LINK_LIBS} win32ksys libcntpr ${PSEH_LIB})
|
||||||
|
|
||||||
add_delay_importlibs(winsrv ${CONSRV_DELAY_IMPORT_LIBS} advapi32)
|
add_delay_importlibs(winsrv ${CONSRV_DELAY_IMPORT_LIBS} ${USERSRV_DELAY_IMPORT_LIBS} advapi32)
|
||||||
add_importlibs(winsrv ${CONSRV_IMPORT_LIBS} ${USERSRV_IMPORT_LIBS} csrsrv gdi32 user32 kernel32 ntdll)
|
add_importlibs(winsrv ${CONSRV_IMPORT_LIBS} ${USERSRV_IMPORT_LIBS} csrsrv gdi32 user32 kernel32 ntdll)
|
||||||
add_dependencies(winsrv bugcodes xdk)
|
add_dependencies(winsrv bugcodes xdk)
|
||||||
add_cd_file(TARGET winsrv DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET winsrv DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -57,7 +57,7 @@ target_link_libraries(consrv pseh)
|
||||||
add_dependencies(consrv psdk)
|
add_dependencies(consrv psdk)
|
||||||
add_pch(consrv consrv/consrv.h CONSRV_SOURCE)
|
add_pch(consrv consrv/consrv.h CONSRV_SOURCE)
|
||||||
#add_object_library(consrv ${CONSRV_SOURCE})
|
#add_object_library(consrv ${CONSRV_SOURCE})
|
||||||
list(APPEND CONSRV_IMPORT_LIBS psapi)
|
#list(APPEND CONSRV_IMPORT_LIBS)
|
||||||
list(APPEND CONSRV_DELAY_IMPORT_LIBS shell32 ole32)
|
list(APPEND CONSRV_DELAY_IMPORT_LIBS shell32 ole32 psapi)
|
||||||
list(APPEND CONSRV_TARGET_LINK_LIBS concfg uuid)
|
list(APPEND CONSRV_TARGET_LINK_LIBS concfg uuid)
|
||||||
set_module_type(consrv module UNICODE)
|
set_module_type(consrv module UNICODE)
|
||||||
|
|
|
@ -14,5 +14,6 @@ target_link_libraries(usersrv pseh)
|
||||||
add_dependencies(usersrv xdk)
|
add_dependencies(usersrv xdk)
|
||||||
add_pch(usersrv usersrv/usersrv.h USERSRV_SOURCE)
|
add_pch(usersrv usersrv/usersrv.h USERSRV_SOURCE)
|
||||||
#add_object_library(usersrv ${USERSRV_SOURCE})
|
#add_object_library(usersrv ${USERSRV_SOURCE})
|
||||||
list(APPEND USERSRV_IMPORT_LIBS basesrv psapi)
|
list(APPEND USERSRV_IMPORT_LIBS basesrv)
|
||||||
|
list(APPEND USERSRV_DELAY_IMPORT_LIBS psapi)
|
||||||
set_module_type(usersrv module UNICODE)
|
set_module_type(usersrv module UNICODE)
|
||||||
|
|
Loading…
Reference in a new issue