def METHOD_NAME(self):
    self.cpp_info.libs = ["anyrpc"]
    if not self.options.shared and self.settings.os == "Windows":
        self.cpp_info.system_libs.append("ws2_32")
    if self.settings.os in ["Linux", "FreeBSD"]:
        self.cpp_info.system_libs.extend(["m", "pthread"])