Fix build.
[reactos.git] / dll / win32 / setupapi / setupapi.rbuild
index 53c5f1b..6f2d0c2 100644 (file)
@@ -1,18 +1,22 @@
 <?xml version="1.0"?>
 <!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
-<module name="setupapi" type="win32dll" baseaddress="${BASEADDRESS_SETUPAPI}" installbase="system32" installname="setupapi.dll" allowwarnings="true" unicode="yes">
+<module name="setupapi" type="win32dll" baseaddress="${BASEADDRESS_SETUPAPI}" installbase="system32" installname="setupapi.dll" allowwarnings="true" unicode="yes" crt="msvcrt">
        <importlibrary definition="setupapi.spec" />
        <include base="setupapi">.</include>
        <include base="ReactOS">include/reactos/wine</include>
        <include base="pnp_client">.</include>
-       <define name="__WINESRC__" />
+
+       <!-- FIXME: workarounds until we have a proper oldnames library -->
+       <define name="wcsnicmp">_wcsnicmp</define>
+
        <define name="_SETUPAPI_" />
+       <define name="_CFGMGR32_" />
        <library>pnp_client</library>
        <library>uuid</library>
        <library>wine</library>
        <library>ntdll</library>
+       <library>gdi32</library>
        <library>comctl32</library>
-       <library>kernel32</library>
        <library>advapi32</library>
        <library>user32</library>
        <library>rpcrt4</library>
@@ -36,5 +40,4 @@
        <file>stubs.c</file>
        <file>rpc.c</file>
        <file>setupapi.rc</file>
-       <file>setupapi.spec</file>
 </module>