Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Uilian Ries <[email protected]>
  • Loading branch information
gocarlos and uilianries authored Feb 26, 2020
1 parent 73bc732 commit 6c117c5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion recipes/mdns/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
sources:
"20200225":
"20200130":
sha256: 5f327b56d932ed5c1a28b7b1b1f528ddfbf69cb45bc4a8d38301ab85116e4b0e
url: https://github.com/mjansson/mdns/archive/0f75def961433102dc4848564c1a865f473dfaed.zip
10 changes: 5 additions & 5 deletions recipes/mdns/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

class MdnsConan(ConanFile):
name = "mdns"
license = "Public Domain or MIT"
license = "Unlicense"
homepage = "https://github.com/mjansson/mdns"
url = "https://github.com/conan-io/conan-center-index"
description = """Public domain mDNS/DNS-SD library in C"""
topics = ("mdns")
description = "Public domain mDNS/DNS-SD library in C"
topics = ("conan", "mdns", "dns", "dns-sd")
settings = "os"
no_copy_source = True

Expand All @@ -33,9 +33,9 @@ def package(self):

def package_info(self):
if self.settings.os == "Windows":
self.cpp_info.libs = ["iphlpapi", "ws2_32"]
self.cpp_info.system_libs = ["iphlpapi", "ws2_32"]
if str(self.settings.os) in ["Linux", "Android"]:
self.cpp_info.libs.append('pthread')
self.cpp_info.system_libs.append('pthread')

def package_id(self):
self.info.header_only()
2 changes: 1 addition & 1 deletion recipes/mdns/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
versions:
"20200225":
"20200130":
folder: "all"

0 comments on commit 6c117c5

Please sign in to comment.