mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 02:11:58 +08:00
ed73411424
On Windows, running applocal.ps1 with "-targetBinary /foo/bar.exe" (without drive letter) did not install dependencies. The dumpbin executable was called with /foo/bar.exe, and dumpbin interpreted this as unknown command line argument. No dependencies were resolved. We're already resolving the full path of the target binary some lines above the dumpbin call. The $targetBinaryPath variable contains the target binary's path including the drive letter, and dumpbin successfully reports the executable's dependencies.