[vcpkg] Add missing debug statement and fix libc++ Filesystem TS issue.

This commit is contained in:
Robert Schumacher 2018-05-03 15:51:02 -07:00
parent 8f0ebdf8d5
commit 120f444af3
2 changed files with 5 additions and 2 deletions

View File

@ -274,8 +274,11 @@ namespace vcpkg::System
Debug::println("CreateProcessW() returned %lu", exit_code);
return static_cast<int>(exit_code);
#else
Debug::println("system(%s)", cmd_line.c_str());
fflush(nullptr);
return system(cmd_line.c_str());
int rc = system(cmd_line.c_str());
Debug::println("system() returned %d", rc);
return rc;
#endif
}

View File

@ -357,7 +357,7 @@ namespace vcpkg::Build
{
{"CMD", "BUILD"},
{"PORT", config.scf.core_paragraph->name},
{"CURRENT_PORT_DIR", config.port_dir / "/."},
{"CURRENT_PORT_DIR", config.port_dir},
{"TARGET_TRIPLET", spec.triplet().canonical_name()},
{"VCPKG_PLATFORM_TOOLSET", toolset.version.c_str()},
{"VCPKG_USE_HEAD_VERSION",