Skip to content

Commit f7ed6b5

Browse files
committed
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. bfgroup/b2#431 (comment)
1 parent 3fa413e commit f7ed6b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/Jamfile.v2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import configure ;
1212
import-search /boost/config/checks ;
1313
import config : requires ;
1414

15-
searched-lib bcrypt ;
16-
searched-lib advapi32 ;
17-
searched-lib coredll ;
15+
lib bcrypt ;
16+
lib advapi32 ;
17+
lib coredll ;
1818
explicit bcrypt advapi32 coredll ;
1919

2020
# The rule checks if a config macro is defined in the command line or build properties

config/Jamfile.v2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ explicit has_posix_at_apis ;
3636
obj has_fallocate : has_fallocate.cpp : <include>../src ;
3737
explicit has_fallocate ;
3838

39-
searched-lib bcrypt ;
39+
lib bcrypt ;
4040
explicit bcrypt ;
4141

4242
exe has_bcrypt : has_bcrypt.cpp : <include>../src <library>bcrypt ;

0 commit comments

Comments
 (0)