mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 20:23:01 +00:00
[CMAKE]
- add gcc dependencies to executables, not to mingw_(w)main [STLPORT] - move features definitions where it belongs. [SDK] - errno _must_ be defined in errno.h, nowhere else, or stlport headers choke. svn path=/branches/cmake-bringup/; revision=49049
This commit is contained in:
parent
1958e125aa
commit
27267a3cab
4 changed files with 14 additions and 30 deletions
4
lib/3rdparty/mingw/CMakeLists.txt
vendored
4
lib/3rdparty/mingw/CMakeLists.txt
vendored
|
@ -57,10 +57,6 @@ 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)
|
||||
|
||||
#hack : this way, every executable will be linked to libgcc
|
||||
target_link_libraries(mingw_main gcc)
|
||||
target_link_libraries(mingw_wmain gcc)
|
||||
|
||||
add_library(mingw_dllmain crtdll.c dllargv.c)
|
||||
add_dependencies(mingw_dllmain psdk)
|
||||
|
||||
|
|
|
@ -157,9 +157,9 @@
|
|||
* It is being put in this file as there is no way to check if we are using GNU ld automatically,
|
||||
* so it becomes user's responsibility.
|
||||
*/
|
||||
/*
|
||||
#define _STLP_GCC_USES_GNU_LD
|
||||
*/
|
||||
#ifdef __MINGW32__
|
||||
# define _STLP_GCC_USES_GNU_LD
|
||||
#endif
|
||||
|
||||
/*==========================================================
|
||||
* Compatibility section
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue