mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00: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
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||||
|
|
|
@ -299,9 +299,9 @@ DllMain(HINSTANCE hDllHandle,
|
||||||
PsStopAndAnalyzeProfile();
|
PsStopAndAnalyzeProfile();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue