From 1a29719f1646ac74d17dd227a901f2b337b2bbbc Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 23 Jan 2021 12:06:49 +0200 Subject: [PATCH] fontstash: fix snek on big sur, with -d use_truetype --- vlib/fontstash/a_d_use_freetype.v | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vlib/fontstash/a_d_use_freetype.v b/vlib/fontstash/a_d_use_freetype.v index 849e287ebb..ac468854ef 100644 --- a/vlib/fontstash/a_d_use_freetype.v +++ b/vlib/fontstash/a_d_use_freetype.v @@ -1,20 +1,19 @@ module fontstash #define FONS_USE_FREETYPE - #flag windows -I @VROOT/thirdparty/freetype/include #flag windows -L @VROOT/thirdparty/freetype/win64 - #flag linux -I/usr/include/freetype2 #flag darwin -I/usr/local/include/freetype2 +// brew on m1 +#flag darwin -I/opt/homebrew/include/freetype2 +#flag darwin -L/opt/homebrew/lib // MacPorts #flag darwin -I/opt/local/include/freetype2 #flag darwin -L/opt/local/lib #flag freebsd -I/usr/local/include/freetype2 #flag freebsd -Wl -L/usr/local/lib - #flag windows -lfreetype #flag linux -lfreetype #flag darwin -lfreetype - #flag darwin -lpng -lbz2 -lz