From f7ed6b5ea9d2884f637cb2e1964b27f1ecb2b210 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Thu, 19 Jun 2025 02:44:26 +0300 Subject: [PATCH] Change searched-lib to lib in the Jamfile. Apparently, searched-lib was not supposed to be used in libraries, and the simple lib target is the preferred way to declare external libraries. https://github.com/bfgroup/b2/issues/431#issuecomment-2985057673 --- build/Jamfile.v2 | 6 +++--- config/Jamfile.v2 | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index e8b693d..14548fa 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -12,9 +12,9 @@ import configure ; import-search /boost/config/checks ; import config : requires ; -searched-lib bcrypt ; -searched-lib advapi32 ; -searched-lib coredll ; +lib bcrypt ; +lib advapi32 ; +lib coredll ; explicit bcrypt advapi32 coredll ; # The rule checks if a config macro is defined in the command line or build properties diff --git a/config/Jamfile.v2 b/config/Jamfile.v2 index 6e9edaa..4ca2ced 100644 --- a/config/Jamfile.v2 +++ b/config/Jamfile.v2 @@ -36,7 +36,7 @@ explicit has_posix_at_apis ; obj has_fallocate : has_fallocate.cpp : ../src ; explicit has_fallocate ; -searched-lib bcrypt ; +lib bcrypt ; explicit bcrypt ; exe has_bcrypt : has_bcrypt.cpp : ../src bcrypt ;