add CRTDLL definition so that the startup code for dlls is actually compiled

svn path=/branches/cmake-bringup/; revision=49452
This commit is contained in:
Timo Kreuzer
2010-11-02 20:39:19 +00:00
parent cc843688e5
commit 42f5ff6943
+2 -1
View File
@@ -55,6 +55,7 @@ add_library(mingw_wmain crt0_w.c crtexe.c dllargv.c)
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_custom_target(oldnames ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/liboldnames.a
add_library(getopt getopt.c)
set_property(TARGET getopt PROPERTY COMPILE_DEFINITIONS _DLL __USE_CRTIMP)
add_dependencies(getopt psdk)
add_dependencies(getopt psdk)