mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08:00
[PSAPI] Don't make the dll depend on MSVCRT
psapi.dll can also used by low-level DLLs, such as winsrv.dll, therefore it is better to reduce its dependencies.
This commit is contained in:
parent
047f1c3d55
commit
e5db85276e
@ -7,7 +7,7 @@ list(APPEND SOURCE
|
|||||||
${CMAKE_CURRENT_BINARY_DIR}/psapi.def)
|
${CMAKE_CURRENT_BINARY_DIR}/psapi.def)
|
||||||
|
|
||||||
add_library(psapi MODULE ${SOURCE})
|
add_library(psapi MODULE ${SOURCE})
|
||||||
set_module_type(psapi win32dll)
|
set_module_type(psapi win32dll ENTRYPOINT DllMain 12)
|
||||||
target_link_libraries(psapi ${PSEH_LIB})
|
target_link_libraries(psapi ${PSEH_LIB})
|
||||||
add_importlibs(psapi msvcrt kernel32 ntdll)
|
add_importlibs(psapi kernel32 ntdll)
|
||||||
add_cd_file(TARGET psapi DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET psapi DESTINATION reactos/system32 FOR all)
|
||||||
|
Loading…
Reference in New Issue
Block a user