diff options
Diffstat (limited to 'build2/cc/compile.cxx')
-rw-r--r-- | build2/cc/compile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx index 3318f21..23499ad 100644 --- a/build2/cc/compile.cxx +++ b/build2/cc/compile.cxx @@ -277,7 +277,7 @@ namespace build2 // we don't need to do match() in order to get options (if // any, they would be set by search_library()). // - if (p.proj () == nullptr || + if (!p.proj () || search_library ( sys_lib_dirs, usr_lib_dirs, p.prerequisite) == nullptr) { |