From bea6b2308824228491074c6e47e05628b2a3a2d3 Mon Sep 17 00:00:00 2001 From: Chris Mc Date: Mon, 27 Jun 2022 19:01:55 -0700 Subject: [PATCH] sobjectizer: add missing system lib reported by hooks --- recipes/sobjectizer/all/conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/sobjectizer/all/conanfile.py b/recipes/sobjectizer/all/conanfile.py index 7110e9461b4f6..6ebed35c1f830 100644 --- a/recipes/sobjectizer/all/conanfile.py +++ b/recipes/sobjectizer/all/conanfile.py @@ -102,7 +102,7 @@ def package_info(self): # TODO: back to global scope in conan v2 once cmake_find_package* generators removed self.cpp_info.components["_sobjectizer"].libs = tools.collect_libs(self) if self.settings.os in ["Linux", "FreeBSD"]: - self.cpp_info.components["_sobjectizer"].system_libs.append("pthread") + self.cpp_info.components["_sobjectizer"].system_libs = ["pthread", "m"] if not self.options.shared: self.cpp_info.components["_sobjectizer"].defines.append("SO_5_STATIC_LIB")