Skip to content

Commit

Permalink
Fix license file and hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahajha committed May 23, 2024
1 parent 1f2c0db commit 02089cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipes/perl/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="])
Expand All @@ -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"))

Expand Down

0 comments on commit 02089cd

Please sign in to comment.