From 30dcb00062969f914e1c6e02070287f499e02fbf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 29 Jul 2017 14:18:52 +0200 Subject: Fix bug in installed import library search on Windows --- build2/cc/windows-rpath.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build2/cc/windows-rpath.cxx') 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; -- cgit v1.1