mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[MINGW]
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:
Vendored
+2
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user