- 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:
Jérôme Gardou 2010-10-08 10:46:54 +00:00
parent 1958e125aa
commit 27267a3cab
4 changed files with 14 additions and 30 deletions

View file

@ -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)