Skip to content

Commit

Permalink
(#21713) Boost Recipe: Update conanfile.py to use expected clang-win …
Browse files Browse the repository at this point in the history
…libprefix

Missing libprefix added for toolset clang-win

Co-authored-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
tpaustian and uilianries authored Jul 29, 2024
1 parent 2c2d824 commit 45f450c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/boost/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -1879,6 +1879,8 @@ def add_libprefix(n):
libprefix = ""
if is_msvc(self) and (not self._shared or n in self._dependencies["static_only"]):
libprefix = "lib"
elif self._toolset == "clang-win":
libprefix = "lib"
return libprefix + n

all_detected_libraries = set(l[:-4] if l.endswith(".dll") else l for l in collect_libs(self))
Expand Down

0 comments on commit 45f450c

Please sign in to comment.