Merge from amd64-branch:
[reactos.git] / reactos / lib / 3rdparty / mingw / mingw.rbuild
index c41e7a4..a4b412e 100644 (file)
@@ -1,11 +1,14 @@
 <?xml version="1.0"?>
 <!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
 <group>
-<module name="mingw_common" type="staticlibrary" isstartuplib="true" underscoresymbols="true" crt="dll">
+<module name="mingw_common" type="staticlibrary" isstartuplib="true" crt="dll">
        <define name="_CRTBLD" />
-       <importlibrary definition="moldname-msvcrt.def" dllname="msvcrt.dll" />
+
+       <!-- This is to prevent from using data imports directly -->
+       <define name="_M_CEE_PURE" />
+
        <include base="ReactOS">include/reactos/mingw-w64</include>
-       <library>kernel32</library>
+               <library>kernel32</library>
        <file>_newmode.c</file>
        <file>atonexit.c</file>
        <file>charmax.c</file>
@@ -51,4 +54,8 @@
        <file>crtdll.c</file>
        <file>dllargv.c</file>
 </module>
+<module name="oldnames" type="staticlibrary">
+       <define name="_CRTBLD" />
+       <importlibrary definition="moldname-msvcrt.def" dllname="msvcrt.dll" />
+</module>
 </group>