aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-11-08 19:02:59 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2016-11-08 19:02:59 -0800
commit097626c317bdf3efa16073c19aac4d0c226bb1ee (patch)
tree765477ad2b77673c7d86fd6588262a6b81f00f05
parentbed9b07a8374c110bc5415f9a1d79350f7cfb00a (diff)
downloadvcpkg-097626c317bdf3efa16073c19aac4d0c226bb1ee.tar.gz
vcpkg-097626c317bdf3efa16073c19aac4d0c226bb1ee.zip
Use /DEPENDENTS instead of /IMPORTS in applocal.ps1
-rw-r--r--scripts/buildsystems/msbuild/applocal.ps12
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\$_") {