diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-09-07 16:50:36 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-09-07 16:50:36 +0200 |
commit | 39a368bc63f64f26e7b1d9fb3973c2dc132a5270 (patch) | |
tree | e7c48ac880d9926bb44a472c09a7c83b3c7232d9 /build2/cc/link-rule.cxx | |
parent | 990a04587fecbce2b1fbde65a22f46e6fa0afb07 (diff) |
Fix binless logic some more
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. |