mirror of
https://github.com/conan-io/conan-center-index.git
synced 2025-08-14 02:35:37 +00:00
(#14548) libdeflate: fix installation for conan >=1.55.0
This commit is contained in:
@@ -106,7 +106,7 @@ class LibdeflateConan(ConanFile):
|
||||
autotools = Autotools(self)
|
||||
with chdir(self, self.source_folder):
|
||||
# Note: not actually an autotools project, is a Makefile project.
|
||||
autotools.install(args=[f"PREFIX={unix_path(self, self.package_folder)}"])
|
||||
autotools.install(args=[f"DESTDIR={unix_path(self, self.package_folder)}", "PREFIX=/"])
|
||||
rmdir(self, os.path.join(self.package_folder, "bin"))
|
||||
rmdir(self, os.path.join(self.package_folder, "lib", "pkgconfig"))
|
||||
rm(self, "*.a" if self.options.shared else "*.[so|dylib]*", os.path.join(self.package_folder, "lib") )
|
||||
|
Reference in New Issue
Block a user