diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-29 14:18:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-07-29 14:25:21 +0200 |
commit | 30dcb00062969f914e1c6e02070287f499e02fbf (patch) | |
tree | 012803c2c362fa41f40615df692db1ed19fa0929 /build2/cc/windows-rpath.cxx | |
parent | 495e79341b8bbbd43bcb92d4cff5ad87111886f0 (diff) |
Fix bug in installed import library search on Windows
Diffstat (limited to 'build2/cc/windows-rpath.cxx')
-rw-r--r-- | build2/cc/windows-rpath.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/cc/windows-rpath.cxx b/build2/cc/windows-rpath.cxx index 2f4f31f..6c8dd16 100644 --- a/build2/cc/windows-rpath.cxx +++ b/build2/cc/windows-rpath.cxx @@ -104,6 +104,9 @@ namespace build2 for (auto pt: t.prerequisite_targets) { + if (pt == nullptr) + continue; + const file* f; const liba* a; @@ -186,6 +189,9 @@ namespace build2 for (auto pt: t.prerequisite_targets) { + if (pt == nullptr) + continue; + const file* f; const liba* a; |