[DO-972] fixed dynamic build for windows (!7)
Co-authored-by: aleksandr.vodyanov <aleksandr.vodyanov@avroid.tech> Reviewed-on: https://git.avroid.tech/Conan/conan_build/pulls/7
This commit is contained in:
@@ -158,7 +158,7 @@ class FreetypeConan(ConanFile):
|
||||
# Duplicate DLL name for backwards compatibility with earlier recipe revisions
|
||||
# See https://github.com/conan-io/conan-center-index/issues/23768
|
||||
suffix = "d" if self.settings.build_type == "Debug" else ""
|
||||
src = os.path.join(self.package_folder, "bin", "freetype-6.dll")
|
||||
src = os.path.join(self.package_folder, "bin", "libfreetype-6.dll")
|
||||
dst = os.path.join(self.package_folder, "bin", f"freetype{suffix}.dll")
|
||||
shutil.copyfile(src, dst)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user