* Disable compiling usermode components for now.
[reactos.git] / lib / 3rdparty / mingw / mingw.rbuild
index 0e87ee7..1807208 100644 (file)
@@ -4,7 +4,9 @@
 <module name="mingw_common" type="staticlibrary" isstartuplib="true" crt="dll">
        <define name="_CRTBLD" />
        <include base="ReactOS">include/reactos/mingw-w64</include>
-       <library>kernel32</library>
+       <if property="USERMODE" value="1">
+               <library>kernel32</library>
+       </if>
        <file>_newmode.c</file>
        <file>atonexit.c</file>
        <file>charmax.c</file>