[NTDLL_VISTA] Fix the build for arm
authorMark Jansen <mark.jansen@reactos.org>
Sun, 18 Aug 2019 19:48:07 +0000 (21:48 +0200)
committerMark Jansen <mark.jansen@reactos.org>
Tue, 20 Aug 2019 20:31:56 +0000 (22:31 +0200)
dll/win32/ntdll_vista/CMakeLists.txt

index 4ec1c0a..d0edd56 100644 (file)
@@ -15,6 +15,9 @@ list(APPEND SOURCE
 
 add_library(ntdll_vista MODULE ${SOURCE})
 set_module_type(ntdll_vista win32dll ENTRYPOINT DllMain 12)
+if(ARCH STREQUAL "arm")
+    target_link_libraries(ntdll_vista chkstk)
+endif()
 add_importlibs(ntdll_vista ntdll)
 add_dependencies(ntdll_vista psdk)
 add_cd_file(TARGET ntdll_vista DESTINATION reactos/system32 FOR all)