mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 02:05:50 +00:00
[UCRTBASE] Build without debug exports
Windows ships ucrtbase without debug exports and ucrtbased with debug exports. The wine test tests ucrtbase and loads it dynamically in some cases. Compiling it with _DEBUG requires it to be linked to ucrtbased, which causes problems, because it also dynamically loads ucrtbase, which will cause it to crash.
This commit is contained in:
parent
6a4dbedd1e
commit
5b633d64f1
5 changed files with 15 additions and 21 deletions
|
@ -24,8 +24,8 @@ list(APPEND UCRT_STDLIB_SOURCES
|
|||
)
|
||||
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
add_asm_files(UCRT_STRING_ASM stdlib/clang-hacks.s)
|
||||
add_asm_files(UCRT_STDLIB_ASM stdlib/clang-hacks.s)
|
||||
list(APPEND UCRT_STDLIB_SOURCES
|
||||
${UCRT_STRING_ASM}
|
||||
${UCRT_STDLIB_ASM}
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue