-remove -nostdlib to fix build of msvcrt
[reactos.git] / reactos / dll / win32 / msvcrt / msvcrt.rbuild
1 <module name="msvcrt" type="win32dll" baseaddress="${BASEADDRESS_MSVCRT}" mangledsymbols="true" installbase="system32" installname="msvcrt.dll">
2 <linkerflag>-nostartfiles</linkerflag>
3 <linkerflag>-lgcc</linkerflag>
4 <importlibrary definition="msvcrt.def" />
5 <include base="msvcrt">.</include>
6 <include base="crt">include</include>
7 <define name="_DISABLE_TIDENTS" />
8 <define name="__USE_W32API" />
9 <define name="_WIN32_IE">0x600</define>
10 <define name="_WIN32_WINNT">0x501</define>
11 <define name="__REACTOS__" />
12 <define name="USE_MSVCRT_PREFIX" />
13 <define name="_MSVCRT_LIB_" />
14 <define name="_MT" />
15
16 <!-- __MINGW_IMPORT needs to be defined differently because it's defined
17 as dllimport by default, which is invalid from GCC 4.1.0 on! -->
18 <define name="__MINGW_IMPORT">"extern __attribute__ ((dllexport))"</define>
19
20 <library>crt</library>
21 <library>string</library>
22 <library>kernel32</library>
23 <library>ntdll</library>
24 <library>wine</library>
25 <pch>precomp.h</pch>
26 <file>dllmain.c</file>
27 <file>msvcrt.rc</file>
28 </module>