https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ca4b001544d0fdfc28cb0f69f0d4016c043b227d

commit ca4b001544d0fdfc28cb0f69f0d4016c043b227d
Author:     Mark Jansen <mark.jan...@reactos.org>
AuthorDate: Sun Aug 18 21:48:07 2019 +0200
Commit:     Mark Jansen <mark.jan...@reactos.org>
CommitDate: Tue Aug 20 22:31:56 2019 +0200

    [NTDLL_VISTA] Fix the build for arm
---
 dll/win32/ntdll_vista/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dll/win32/ntdll_vista/CMakeLists.txt 
b/dll/win32/ntdll_vista/CMakeLists.txt
index 4ec1c0ab70e..d0edd56c6c0 100644
--- a/dll/win32/ntdll_vista/CMakeLists.txt
+++ b/dll/win32/ntdll_vista/CMakeLists.txt
@@ -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)

Reply via email to