Author: tkreuzer
Date: Fri Dec 31 15:53:55 2010
New Revision: 50241
URL:
http://svn.reactos.org/svn/reactos?rev=50241&view=rev
Log:
[CMAKE]
Go back to DllMain entrypoints. Fixes cardgames.
Modified:
branches/cmake-bringup/gcc.cmake
Modified: branches/cmake-bringup/gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/gcc.cmake?rev=502…
==============================================================================
--- branches/cmake-bringup/gcc.cmake [iso-8859-1] (original)
+++ branches/cmake-bringup/gcc.cmake [iso-8859-1] Fri Dec 31 15:53:55 2010
@@ -152,7 +152,7 @@
endif(NOT IS_UNICODE)
target_link_libraries(${MODULE} mingw_common)
elseif(${TYPE} MATCHES win32dll)
- set_entrypoint(${MODULE} DllMainCRTStartup 12)
+ set_entrypoint(${MODULE} DllMain 12)
target_link_libraries(${MODULE} mingw_dllmain mingw_common)
if(DEFINED baseaddress_${MODULE})
set_image_base(${MODULE} ${baseaddress_${MODULE}})
@@ -160,11 +160,11 @@
message(STATUS "${MODULE} has no base address")
endif()
elseif(${TYPE} MATCHES win32ocx)
- set_entrypoint(${MODULE} DllMainCRTStartup 12)
+ set_entrypoint(${MODULE} DllMain 12)
target_link_libraries(${MODULE} mingw_dllmain mingw_common)
set_target_properties(${MODULE} PROPERTIES SUFFIX ".ocx")
elseif(${TYPE} MATCHES cpl)
- set_entrypoint(${MODULE} DllMainCRTStartup 12)
+ set_entrypoint(${MODULE} DllMain 12)
target_link_libraries(${MODULE} mingw_dllmain mingw_common)
set_target_properties(${MODULE} PROPERTIES SUFFIX ".cpl")
elseif(${TYPE} MATCHES kernelmodedriver)