From 02089cdac4bb7a3b7659b5cabe378b649664fad5 Mon Sep 17 00:00:00 2001 From: Ahajha Date: Thu, 23 May 2024 01:26:34 -0400 Subject: [PATCH] Fix license file and hook --- recipes/perl/all/conanfile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/perl/all/conanfile.py b/recipes/perl/all/conanfile.py index f7acebc7edae2..a8cb466704002 100644 --- a/recipes/perl/all/conanfile.py +++ b/recipes/perl/all/conanfile.py @@ -67,7 +67,7 @@ def build(self): autotools.make() def package(self): - copy(self, "LICENSE", self.source_folder, os.path.join(self.package_folder, "licenses")) + copy(self, "Copying", self.source_folder, os.path.join(self.package_folder, "licenses")) with chdir(self, self.source_folder): autotools = Autotools(self) autotools.install(args=["DESTDIR="]) @@ -80,6 +80,8 @@ def package_info(self): self.cpp_info.resdirs = [] self.cpp_info.includedirs = [] + self.cpp_info.system_libs = ["m"] + # TODO: Legacy, to be removed in Conan 2.0 self.env_info.PATH.append(os.path.join(self.package_folder, "bin"))