mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 17:01:28 +00:00
[FREELDR] Fix missing exports and .edata section after commit 728694f6
.
CORE-18880
This commit is contained in:
parent
996713515b
commit
995630ccec
|
@ -128,10 +128,10 @@ list(APPEND FREELDR_BASE_SOURCE
|
||||||
ntldr/ntldropts.c
|
ntldr/ntldropts.c
|
||||||
lib/rtl/libsupp.c)
|
lib/rtl/libsupp.c)
|
||||||
|
|
||||||
# if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
# # Must be included together with disk/scsiport.c
|
# Must be included together with disk/scsiport.c
|
||||||
# list(APPEND FREELDR_BASE_SOURCE
|
list(APPEND FREELDR_BASE_SOURCE
|
||||||
# ${CMAKE_CURRENT_BINARY_DIR}/freeldr_pe.def)
|
${CMAKE_CURRENT_BINARY_DIR}/freeldr_pe.def)
|
||||||
# endif()
|
endif()
|
||||||
|
|
||||||
include(pcat.cmake)
|
include(pcat.cmake)
|
||||||
|
|
|
@ -185,12 +185,6 @@ list(APPEND PCATLDR_BASE_SOURCE
|
||||||
${freeldr_base_asm}
|
${freeldr_base_asm}
|
||||||
${FREELDR_BASE_SOURCE})
|
${FREELDR_BASE_SOURCE})
|
||||||
|
|
||||||
if(ARCH STREQUAL "i386")
|
|
||||||
# Must be included together with disk/scsiport.c
|
|
||||||
list(APPEND FREELDR_BASE_SOURCE
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/freeldr_pe.def)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
add_executable(freeldr_pe ${PCATLDR_BASE_SOURCE})
|
add_executable(freeldr_pe ${PCATLDR_BASE_SOURCE})
|
||||||
|
|
||||||
set_target_properties(freeldr_pe
|
set_target_properties(freeldr_pe
|
||||||
|
|
Loading…
Reference in a new issue