Skip to content

Commit

Permalink
Remove linking to bcrypt.lib on MinGW except 8 (which we test), becau…
Browse files Browse the repository at this point in the history
…se MinGW 5 (which we also test) doesn't have BCrypt and fails with link errors
  • Loading branch information
pdimov committed Apr 20, 2024
1 parent e2eaaeb commit 8bd0476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Jamfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ project libs/uuid/test
# boost.jam defines BOOST_ALL_NO_LIB, this makes library management
# near-impossible with the platform selection logic in the random_provider
<target-os>windows:<define>BOOST_UUID_FORCE_AUTO_LINK
<target-os>windows,<toolset>gcc:<library>bcrypt
<target-os>windows,<toolset>gcc-8:<library>bcrypt

# boost::lexical_cast needs this for a warning-free build (CHAR_MAX)
<toolset>clang:<cxxflags>-Wno-c99-extensions
Expand Down

0 comments on commit 8bd0476

Please sign in to comment.