From 128507c177f79268087bb8d0cdf9a41137e257e3 Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Fri, 19 Jan 2024 22:28:03 +0100 Subject: [PATCH] deps.macos: Fix installation of universal FreeType libraries Makefile generated by FreeType hardcodes build directory, which needs to be overriden for universal builds. --- deps.macos/60-freetype.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deps.macos/60-freetype.zsh b/deps.macos/60-freetype.zsh index 1dd9743bd..2aa834b7f 100644 --- a/deps.macos/60-freetype.zsh +++ b/deps.macos/60-freetype.zsh @@ -89,6 +89,8 @@ install() { cd ${dir}/build_${arch} + if [[ ${arch} == universal ]] sed -i '' -E -e 's/build_(x86_64|arm64)/build_universal/g' Makefile + PATH="${(j.:.)cc_path}" progress make install }