diff options
Diffstat (limited to 'build2/cc/link-rule.cxx')
-rw-r--r-- | build2/cc/link-rule.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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. |