Author: tkreuzer Date: Tue Nov 2 20:39:19 2010 New Revision: 49452
URL: http://svn.reactos.org/svn/reactos?rev=49452&view=rev Log: [MINGW] add CRTDLL definition so that the startup code for dlls is actually compiled
Modified: branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt
Modified: branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/mingw... ============================================================================== --- branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/lib/3rdparty/mingw/CMakeLists.txt [iso-8859-1] Tue Nov 2 20:39:19 2010 @@ -55,6 +55,7 @@ set_property(TARGET mingw_wmain PROPERTY COMPILE_DEFINITIONS WPRFLAG UNICODE _UNICODE) add_dependencies(mingw_wmain psdk)
+add_definitions(-DCRTDLL) add_library(mingw_dllmain crtdll.c dllargv.c) add_dependencies(mingw_dllmain psdk)
@@ -69,4 +70,4 @@
add_library(getopt getopt.c) set_property(TARGET getopt PROPERTY COMPILE_DEFINITIONS _DLL __USE_CRTIMP) -add_dependencies(getopt psdk) +add_dependencies(getopt psdk)