Skip to content

Commit

Permalink
link rpcrt4 on shared and static
Browse files Browse the repository at this point in the history
  • Loading branch information
toge committed May 22, 2022
1 parent 9f1bcec commit c10f4d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/drogon/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def package(self):

def package_info(self):
self.cpp_info.libs = ["drogon"]
if self.options.shared and self.settings.os == "Windows":
if self.settings.os == "Windows":
self.cpp_info.system_libs.extend(["rpcrt4", "ws2_32", "crypt32", "advapi32"])
if self.settings.compiler == "gcc" and tools.Version(self.settings.compiler.version).major == "8":
self.cpp_info.system_libs.append("stdc++fs")
Expand Down

0 comments on commit c10f4d4

Please sign in to comment.