Try linking to ntdll (fixes #6725)

This commit is contained in:
Dennis Felsing 2023-06-10 13:57:19 +02:00
parent 80c32061a7
commit 2c03973dac

View file

@ -737,6 +737,7 @@ if(TARGET_OS STREQUAL "windows")
list(APPEND PLATFORM_LIBS bcrypt userenv) # for Rust (https://github.com/rust-lang/rust/issues/91974)
list(APPEND PLATFORM_LIBS ole32) # CoInitialize(Ex)
list(APPEND PLATFORM_LIBS shell32)
list(APPEND PLATFORM_LIBS ntdll) # https://github.com/ddnet/ddnet/issues/6725
elseif(TARGET_OS STREQUAL "mac")
find_library(CARBON Carbon)
find_library(COCOA Cocoa)