| Index: tools/gn/ninja_helper.cc
|
| diff --git a/tools/gn/ninja_helper.cc b/tools/gn/ninja_helper.cc
|
| index 65e06c08025cea806293c30ef62cd1f461731469..c3d275bc51e73aa1bf831f9ce43d59548bc5e11a 100644
|
| --- a/tools/gn/ninja_helper.cc
|
| +++ b/tools/gn/ninja_helper.cc
|
| @@ -11,7 +11,7 @@
|
|
|
| namespace {
|
|
|
| -const char kLibDirWithSlash[] = "lib";
|
| +const char kLibDirWithSlash[] = "lib/";
|
| const char kObjectDirNoSlash[] = "obj";
|
|
|
| } // namespace
|
| @@ -116,7 +116,8 @@ OutputFile NinjaHelper::GetTargetOutputFile(const Target* target) const {
|
|
|
| // This is prepended to the output file name.
|
| const char* prefix;
|
| - if (target->settings()->IsWin()) {
|
| + if (target->settings()->IsWin() ||
|
| + target->output_type() == Target::EXECUTABLE) {
|
| prefix = "";
|
| } else {
|
| prefix = "lib";
|
|
|