We have two different ways to do the same thing. Modules have a "host" attribute to indicate if the module has to be build by host compiler rather than target compiler but we also have the "hoststaticlibrary" module type , I don't know if "host" property is broken but someone with time should test/fix it as it's the more appropiate way.
Marc,
-------------------------------------------------- From: cfinck@svn.reactos.org Sent: Sunday, June 22, 2008 11:41 PM To: ros-diffs@reactos.org Subject: [ros-diffs] [cfinck] 34051: Build host_wcsfuncs as a host static library, not a target static library Fixes build for all non-Win32 hosts
Author: cfinck Date: Sun Jun 22 16:41:25 2008 New Revision: 34051
URL: http://svn.reactos.org/svn/reactos?rev=34051&view=rev Log: Build host_wcsfuncs as a host static library, not a target static library Fixes build for all non-Win32 hosts
Modified: trunk/reactos/lib/host/wcsfuncs/wcsfuncs.rbuild
Modified: trunk/reactos/lib/host/wcsfuncs/wcsfuncs.rbuild URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/host/wcsfuncs/wcsfuncs.... ============================================================================== --- trunk/reactos/lib/host/wcsfuncs/wcsfuncs.rbuild [iso-8859-1] (original) +++ trunk/reactos/lib/host/wcsfuncs/wcsfuncs.rbuild [iso-8859-1] Sun Jun 22 16:41:25 2008 @@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
-<module name="host_wcsfuncs" type="staticlibrary"> +<module name="host_wcsfuncs" type="hoststaticlibrary"> <include base="ReactOS">include</include> <file>wcsfuncs.c</file>
</module>