ITS#8324 More for Win32 NTDLL junk

Use GetProcAddress at runtime, avoid buildtime NTDLL link issues
This commit is contained in:
Howard Chu 2018-02-18 21:05:56 +00:00
parent 4f80c50730
commit b372ec4375
No known key found for this signature in database
GPG key ID: FD2A70B44AB11BA7
3 changed files with 31 additions and 14 deletions

View file

@ -46,10 +46,6 @@ add_library(lmdb
target_link_libraries(lmdb
PRIVATE
${CMAKE_THREAD_LIBS_INIT})
if(WIN32)
target_link_libraries(lmdb
-lntdll)
endif()
if(${ARCH_WIDTH} EQUAL 32)
target_compile_definitions(lmdb
PUBLIC -DMDB_VL32)