projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8457c6f
)
Revert r34346, it didn't work the way I thought because of different CRT's on every...
author
Colin Finck
<colin@reactos.org>
Sun, 6 Jul 2008 22:32:07 +0000
(22:32 +0000)
committer
Colin Finck
<colin@reactos.org>
Sun, 6 Jul 2008 22:32:07 +0000
(22:32 +0000)
Sorry for the wasted commit.
svn path=/trunk/; revision=34347
reactos/tools/rbuild/backend/mingw/modulehandler.cpp
patch
|
blob
|
history
diff --git
a/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
b/reactos/tools/rbuild/backend/mingw/modulehandler.cpp
index
ae638e2
..
2a06f29
100644
(file)
--- a/
reactos/tools/rbuild/backend/mingw/modulehandler.cpp
+++ b/
reactos/tools/rbuild/backend/mingw/modulehandler.cpp
@@
-2462,10
+2462,15
@@
MingwBuildToolModuleHandler::GenerateBuildToolModuleTarget ()
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",
targetMacro.c_str (),