[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:
Timo Kreuzer 2025-01-27 11:51:21 +02:00
parent 6a4dbedd1e
commit 5b633d64f1
5 changed files with 15 additions and 21 deletions

View file

@ -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()