[ros-diffs] [tkreuzer] 49452: [MINGW] add CRTDLL definition so that the startup code for dlls is actually compiled

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Tue Nov 2 20:39:20 UTC 2010


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/CMakeLists.txt?rev=49452&r1=49451&r2=49452&view=diff
==============================================================================
--- 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)




More information about the Ros-diffs mailing list