mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:25:48 +00:00
[SDK:TOOLS] Add --driver option to pefixup
For now, this adds IMAGE_SCN_MEM_DISCARDABLE to the INIT section, and IMAGE_SCN_MEM_NOT_PAGED to sections which are not named PAGE or .reloc
This commit is contained in:
parent
56b1baa3dd
commit
5489efcb1a
2 changed files with 74 additions and 13 deletions
|
@ -308,7 +308,7 @@ endif()
|
|||
|
||||
function(fixup_load_config _target)
|
||||
add_custom_command(TARGET ${_target} POST_BUILD
|
||||
COMMAND native-pefixup "$<TARGET_FILE:${_target}>"
|
||||
COMMAND native-pefixup --loadconfig "$<TARGET_FILE:${_target}>"
|
||||
COMMENT "Patching in LOAD_CONFIG"
|
||||
DEPENDS native-pefixup)
|
||||
endfunction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue