From 910630c497e185313fa51eddc8eac981596e27d9 Mon Sep 17 00:00:00 2001 From: Bitkarrot <73979971+bitkarrot@users.noreply.github.com> Date: Sun, 25 Jun 2023 15:55:21 -0700 Subject: [PATCH] add m1 native lib paths to Makefile add m1 native lib paths to Makefile (also need PKG_CONFIG_PATH) [ Squashed into a single commit --RR ] --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 2da9e853c..b0b0aa6d3 100644 --- a/Makefile +++ b/Makefile @@ -240,6 +240,9 @@ DEFAULT_TARGETS := ifeq ("$(OS)-$(ARCH)", "Darwin-arm64") CPATH := /opt/homebrew/include LIBRARY_PATH := /opt/homebrew/lib +LDFLAGS := -L/opt/homebrew/opt/sqlite/lib +CPPFLAGS := -I/opt/homebrew/opt/sqlite/include +PKG_CONFIG_PATH=/opt/homebrew/opt/sqlite/lib/pkgconfig else CPATH := /usr/local/include LIBRARY_PATH := /usr/local/lib