mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:12:58 +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
|
@ -20,9 +20,8 @@ list(APPEND UCRT_HEAP_SOURCES
|
|||
heap/recalloc.cpp
|
||||
)
|
||||
|
||||
if(DBG)
|
||||
list(APPEND UCRT_HEAP_SOURCES
|
||||
heap/debug_heap.cpp
|
||||
heap/debug_heap_hook.cpp
|
||||
)
|
||||
endif()
|
||||
# Debug sources
|
||||
list(APPEND UCRTD_HEAP_SOURCES
|
||||
heap/debug_heap.cpp
|
||||
heap/debug_heap_hook.cpp
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue