From 89275d034809e7f138aea51a4b8435d5dddc400c Mon Sep 17 00:00:00 2001 From: Jordan Williams Date: Mon, 18 Mar 2024 09:38:06 -0500 Subject: [PATCH] Account for the name of the static library on Windows --- recipes/freetype/meson/conanfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/freetype/meson/conanfile.py b/recipes/freetype/meson/conanfile.py index a0fb402342eb6..2bc4e9ac12706 100644 --- a/recipes/freetype/meson/conanfile.py +++ b/recipes/freetype/meson/conanfile.py @@ -214,7 +214,7 @@ def package_info(self): self.cpp_info.set_property("cmake_target_aliases", ["freetype"]) # other possible target name in upstream config file self.cpp_info.set_property("cmake_build_modules", [self._module_vars_rel_path]) self.cpp_info.set_property("pkg_config_name", "freetype2") - self.cpp_info.libs = ["freetype"] + self.cpp_info.libs = ["libfreetype.a" if self.settings.os == "Windows" and not self.options.shared else "freetype"] if self.settings.os in ["Linux", "FreeBSD"]: self.cpp_info.system_libs.append("m") self.cpp_info.includedirs.append(os.path.join("include", "freetype2"))