From 948c017a199c9245996944ab1e122feb9ad25c67 Mon Sep 17 00:00:00 2001 From: Pierre POMES Date: Tue, 23 Jul 2024 11:22:33 -0400 Subject: [PATCH] Update README.md, set include/lib flags for Apple Mx. --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index c300416..64f32a5 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,15 @@ export PATH="/usr/local/opt/flex/bin:$PATH" export PATH="/usr/local/opt/bison/bin:$PATH" ``` +For Apple Silicon at build time, you may need to adjust include and library search path: +```shell +export CFLAGS=-I/opt/homebrew/include +export LDFLAGS=-L/opt/homebrew/lib +``` + + + + ### Build/Install ```