From b8f80e84e1e702ec679b2ca5b01c4a8a5b08aee2 Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Thu, 16 Feb 2023 13:58:16 +0100 Subject: [PATCH] apply @jcar87 suggestions Signed-off-by: Uilian Ries --- recipes/openssl/3.x.x/conanfile.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/recipes/openssl/3.x.x/conanfile.py b/recipes/openssl/3.x.x/conanfile.py index 05de257a52c5f..beaea42777422 100644 --- a/recipes/openssl/3.x.x/conanfile.py +++ b/recipes/openssl/3.x.x/conanfile.py @@ -610,6 +610,7 @@ def build(self): self._create_targets() with self._make_context(): self._make() + self.run("perl source_subfolder/configdata.pm --dump") @property def _win_bash(self): @@ -756,3 +757,10 @@ def package_info(self): self.cpp_info.components["crypto"].names["cmake_find_package_multi"] = "Crypto" self.cpp_info.components["ssl"].names["cmake_find_package"] = "SSL" self.cpp_info.components["ssl"].names["cmake_find_package_multi"] = "SSL" + + openssl_modules_dir = os.path.join(self.package_folder, "lib", "ossl-modules") + self.runenv_info.define_path("OPENSSL_MODULES", openssl_modules_dir) + + # For legacy 1.x downstream consumers, remove once recipe is 2.0 only: + self.env_info.OPENSSL_MODULES = openssl_modules_dir +