Skip to content

Commit

Permalink
deps.macos: Fix installation of universal FreeType libraries
Browse files Browse the repository at this point in the history
Makefile generated by FreeType hardcodes build directory, which
needs to be overriden for universal builds.
  • Loading branch information
PatTheMav authored and RytoEX committed Jan 24, 2024
1 parent cb0e335 commit 128507c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deps.macos/60-freetype.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 128507c

Please sign in to comment.