diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-05-08 20:53:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-08 20:53:44 -0700 |
| commit | add92555384f59ab10b6f551db0b685f8e9e5323 (patch) | |
| tree | befe44d70b1b0ec579a066c1ba30d707693313b2 /toolsrc/src/PostBuildLint.cpp | |
| parent | 7bb0224ee152d8ffba7ddf3d07a53d4d39faa1a2 (diff) | |
| parent | 9223a08134bfa4afc5f9d9ac73ed7dd44092fb07 (diff) | |
| download | vcpkg-add92555384f59ab10b6f551db0b685f8e9e5323.tar.gz vcpkg-add92555384f59ab10b6f551db0b685f8e9e5323.zip | |
Merge pull request #1054 from KindDragon/folly
Add Facebook Folly port
Diffstat (limited to 'toolsrc/src/PostBuildLint.cpp')
| -rw-r--r-- | toolsrc/src/PostBuildLint.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/toolsrc/src/PostBuildLint.cpp b/toolsrc/src/PostBuildLint.cpp index 294645e82..0d2f556c1 100644 --- a/toolsrc/src/PostBuildLint.cpp +++ b/toolsrc/src/PostBuildLint.cpp @@ -427,6 +427,11 @@ namespace vcpkg::PostBuildLint "The file extension was not .lib: %s", file.generic_string()); COFFFileReader::LibInfo info = COFFFileReader::read_lib(file); + + // This is zero for folly's debug library + // TODO: Why? + if (info.machine_types.size() == 0) return LintStatus::SUCCESS; + Checks::check_exit(VCPKG_LINE_INFO, info.machine_types.size() == 1, "Found more than 1 architecture in file %s", |
