[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:
Aleksandr Vodyanov
2024-12-06 17:54:32 +03:00
parent cb6a88b7f4
commit 3aa73be75d

View File

@@ -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)