Skip to content

Commit

Permalink
Update recipes/libcoap/all/conanfile.py
Browse files Browse the repository at this point in the history
Co-authored-by: Anonymous Maarten <[email protected]>
  • Loading branch information
gocarlos and madebr authored Aug 27, 2020
1 parent a917a60 commit 62074c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/libcoap/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ def package(self):

def package_info(self):
self.cpp_info.libs = ["coap"]
self.cpp_info.names['pkg_config'] = "libcoap-2{}".format("" if not self.options.dtls_backend else "-" + self.options.dtls_backend)
self.cpp_info.names['pkg_config'] = "libcoap-2{}".format("-{}".format(self.options.dtls_backend) if self.options.dtls_backend else "")
if self.settings.os == "Linux":
self.cpp_info.system_libs = ["pthread"]

0 comments on commit 62074c0

Please sign in to comment.