[MINGW]
[reactos.git] / reactos / lib / 3rdparty / mingw / mingw.rbuild
index b851473..737810c 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE group SYSTEM "../../../tools/rbuild/project.dtd">
 <group>
-<module name="mingw_common" type="staticlibrary" isstartuplib="true" crt="dll">
+<module name="mingw_common" type="staticlibrary" isstartuplib="true" crt="static">
        <library>oldnames</library>
        <library>ntdll</library>
        <define name="_CRTBLD" />
@@ -22,7 +22,6 @@
        <file>crt_handler.c</file>
        <file>dllentry.c</file>
        <file>gccmain.c</file>
-       <file>getopt.c</file>
        <file>gs_support.c</file>
        <file>merr.c</file>
        <file>mingw_helpers.c</file>
@@ -49,7 +48,7 @@
        <file>crtexe.c</file>
        <file>dllargv.c</file>
 </module>
-<module name="mingw_wmain" type="staticlibrary" isstartuplib="true" unicode="yes" crt="dll">
+<module name="mingw_wmain" type="staticlibrary" isstartuplib="true" unicode="yes" crt="static">
        <define name="_CRTBLD" />
        <define name="WPRFLAG" />
        <include base="ReactOS">include/reactos/mingw-w64</include>
@@ -58,7 +57,7 @@
        <file>crtexe.c</file>
        <file>dllargv.c</file>
 </module>
-<module name="mingw_dllmain" type="staticlibrary" isstartuplib="true" crt="dll">
+<module name="mingw_dllmain" type="staticlibrary" isstartuplib="true" crt="static">
        <define name="_CRTBLD" />
        <include base="ReactOS">include/reactos/mingw-w64</include>
        <file>crtdll.c</file>
@@ -68,4 +67,7 @@
        <define name="_CRTBLD" />
        <importlibrary definition="moldname-msvcrt.def" dllname="msvcrt.dll" />
 </module>
+<module name="getopt" type="staticlibrary" crt="dll">
+       <file>getopt.c</file>
+</module>
 </group>