Author: cfinck
Date: Sun Jul 6 17:07:22 2008
New Revision: 34346
URL:
http://svn.reactos.org/svn/reactos?rev=34346&view=rev
Log:
Also link host binaries with ld and not gcc/g++.
Same change was already done for target binaries in r34187.
Modified:
trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
Modified: trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/mingw…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/rbuild/backend/mingw/modulehandler.cpp [iso-8859-1] Sun Jul 6
17:07:22 2008
@@ -2462,14 +2462,9 @@
string objectsMacro = GetObjectsMacro ( module );
string linkDepsMacro = GetLinkingDependenciesMacro ();
string libsMacro = GetLibsMacro ();
+ string linker = "${host_ld}";
GenerateRules ();
-
- string linker;
- if ( module.cplusplus )
- linker = "${host_gpp}";
- else
- linker = "${host_gcc}";
const FileLocation *target_file = GetTargetFilename ( module, NULL );
fprintf ( fMakefile, "%s: %s %s | %s\n",