Skip to content

Commit

Permalink
Adjust boost_system removal for VS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
klimkin committed Apr 10, 2021
1 parent 36bdf73 commit 7882f1f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions recipes/boost/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1314,12 +1314,10 @@ def filter_transform_module_libraries(names):
# still built for compatibility, but linking to it is no longer
# necessary.
# https://www.boost.org/doc/libs/1_75_0/libs/system/doc/html/system.html#changes_in_boost_1_69
boost_system = "libboost_system" if self._is_msvc else "boost_system"
try:
all_detected_libraries.remove(boost_system)
except KeyError:
pass
continue
if "libboost_system" in all_detected_libraries:
all_detected_libraries.remove("libboost_system")
if "boost_system" in all_detected_libraries:
all_detected_libraries.remove("boost_system")
libs.append(add_libprefix(name.format(**libformatdata)) + libsuffix)
return libs

Expand Down

0 comments on commit 7882f1f

Please sign in to comment.