From 605326b6e86793e634e7df6f66b4ebe5f2fcb07f Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Tue, 11 May 2021 08:07:42 +0300 Subject: [PATCH] mdbx-cmake: don't specify filename extension while linking with `ntdll`. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e26873e8..f9f7708f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -558,7 +558,7 @@ endmacro() macro(libmdbx_setup_libs TARGET MODE) target_link_libraries(${TARGET} ${MODE} Threads::Threads) if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") - target_link_libraries(${TARGET} ${MODE} ntdll.lib) + target_link_libraries(${TARGET} ${MODE} ntdll) if(MDBX_NTDLL_EXTRA_IMPLIB AND MDBX_WITHOUT_MSVC_CRT) target_link_libraries(${TARGET} ${MODE} ntdll_extra) endif()