https://git.reactos.org/?p=reactos.git;a=commitdiff;h=76af1fb019029a3cd1292…
commit 76af1fb019029a3cd12928b6d971ece20490e42e
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Wed Oct 10 00:19:54 2018 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 10 12:45:22 2019 +0100
[ACLAYERS][ACGENRAL] Do not use the crt entrypoint.
---
dll/appcompat/shims/genral/CMakeLists.txt | 4 ++--
dll/appcompat/shims/layer/CMakeLists.txt | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dll/appcompat/shims/genral/CMakeLists.txt
b/dll/appcompat/shims/genral/CMakeLists.txt
index 86db9bbc91..b0e98edcec 100644
--- a/dll/appcompat/shims/genral/CMakeLists.txt
+++ b/dll/appcompat/shims/genral/CMakeLists.txt
@@ -14,7 +14,7 @@ add_library(acgenral SHARED
${SOURCE}
${CMAKE_CURRENT_BINARY_DIR}/acgenral.def)
-set_module_type(acgenral win32dll)
+set_module_type(acgenral win32dll ENTRYPOINT DllMain 12)
target_link_libraries(acgenral shimlib)
-add_importlibs(acgenral uxtheme msvcrt kernel32 ntdll)
+add_importlibs(acgenral uxtheme kernel32 ntdll)
add_cd_file(TARGET acgenral DESTINATION reactos/AppPatch FOR all)
diff --git a/dll/appcompat/shims/layer/CMakeLists.txt
b/dll/appcompat/shims/layer/CMakeLists.txt
index f62c8dd13c..9567315c2c 100644
--- a/dll/appcompat/shims/layer/CMakeLists.txt
+++ b/dll/appcompat/shims/layer/CMakeLists.txt
@@ -14,7 +14,7 @@ add_library(aclayers SHARED
${SOURCE}
${CMAKE_CURRENT_BINARY_DIR}/aclayers.def)
-set_module_type(aclayers win32dll)
+set_module_type(aclayers win32dll ENTRYPOINT DllMain 12)
target_link_libraries(aclayers shimlib)
-add_importlibs(aclayers user32 msvcrt kernel32 ntdll)
+add_importlibs(aclayers user32 kernel32 ntdll)
add_cd_file(TARGET aclayers DESTINATION reactos/AppPatch FOR all)