Skip to content

Commit

Permalink
mpdecimal/2.4.2: fix Windows lib name
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Oct 5, 2023
1 parent ac897a7 commit 68eff4e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/mpdecimal/2.4.2/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,10 @@ def package(self):

def package_info(self):
if is_msvc(self):
self.cpp_info.libs = [f"libmpdec-{self.version}.dll"]
if self.options.shared:
self.cpp_info.libs = [f"libmpdec-{self.version}.dll"]
else:
self.cpp_info.libs = [f"libmpdec-{self.version}"]
else:
self.cpp_info.libs = ["mpdec"]
if self.options.shared:
Expand Down

0 comments on commit 68eff4e

Please sign in to comment.