Skip to content

Commit

Permalink
(#4698) openssl: fix rt dependency for SUSE11
Browse files Browse the repository at this point in the history
openssl::crypto uses clock_gettime() that requires `-lrt` on SUSE.
  • Loading branch information
klimkin committed Mar 3, 2021
1 parent 8a23f45 commit 356c30c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/openssl/1.x.x/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,7 @@ def package_info(self):
if self.settings.os == "Windows":
self.cpp_info.components["crypto"].system_libs.extend(["crypt32", "ws2_32", "advapi32", "user32"])
elif self.settings.os == "Linux":
self.cpp_info.components["crypto"].system_libs.append("dl")
self.cpp_info.components["crypto"].system_libs.extend(["dl", "rt"])
self.cpp_info.components["ssl"].system_libs.append("dl")
if not self.options.no_threads:
self.cpp_info.components["crypto"].system_libs.append("pthread")
Expand Down

0 comments on commit 356c30c

Please sign in to comment.