From 39a368bc63f64f26e7b1d9fb3973c2dc132a5270 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 7 Sep 2018 16:50:36 +0200 Subject: Fix binless logic some more --- build2/cc/link-rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/cc/link-rule.cxx') diff --git a/build2/cc/link-rule.cxx b/build2/cc/link-rule.cxx index 138ae9d..93cdecf 100644 --- a/build2/cc/link-rule.cxx +++ b/build2/cc/link-rule.cxx @@ -1241,7 +1241,7 @@ namespace build2 // Note: on Windows shared library could be the DLL with unknown // location (empty path). See search_library() for details. // - if (l->path ().empty () && l->member != nullptr) // Binless. + if (l->path ().empty () && l->member == nullptr) // Binless. return; // On Windows a shared library is a DLL with the import library as @@ -1355,7 +1355,7 @@ namespace build2 // Note: on Windows shared library could be the DLL with unknown // location (empty path). See search_library() for details. // - if (l->path ().empty () && l->member != nullptr) // Binless. + if (l->path ().empty () && l->member == nullptr) // Binless. return; // Check if this library renders us out of date. -- cgit v1.1