diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-08 19:02:59 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-08 19:02:59 -0800 |
| commit | 097626c317bdf3efa16073c19aac4d0c226bb1ee (patch) | |
| tree | 765477ad2b77673c7d86fd6588262a6b81f00f05 /scripts | |
| parent | bed9b07a8374c110bc5415f9a1d79350f7cfb00a (diff) | |
| download | vcpkg-097626c317bdf3efa16073c19aac4d0c226bb1ee.tar.gz vcpkg-097626c317bdf3efa16073c19aac4d0c226bb1ee.zip | |
Use /DEPENDENTS instead of /IMPORTS in applocal.ps1
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/buildsystems/msbuild/applocal.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/buildsystems/msbuild/applocal.ps1 b/scripts/buildsystems/msbuild/applocal.ps1 index 70528e078..ddb4a07f9 100644 --- a/scripts/buildsystems/msbuild/applocal.ps1 +++ b/scripts/buildsystems/msbuild/applocal.ps1 @@ -5,7 +5,7 @@ function resolve($targetBinary) { $targetBinaryPath = Resolve-Path $targetBinary $targetBinaryDir = Split-Path $targetBinaryPath -parent - $a = $(link /dump /imports $targetBinary | ? { $_ -match "^ [^ ].*\.dll" } | % { $_ -replace "^ ","" }) + $a = $(dumpbin /DEPENDENTS $targetBinary | ? { $_ -match "^ [^ ].*\.dll" } | % { $_ -replace "^ ","" }) $a | % { if (Test-Path "$installedDir\$_") { if (Test-Path "$targetBinaryDir\$_") { |
