From 2c382a4cb468afb812bb769d27e759b9c8b8a1c8 Mon Sep 17 00:00:00 2001 From: Daniel Levi-Minzi <51272568+dleviminzi@users.noreply.github.com> Date: Thu, 20 Jun 2024 12:15:48 -0400 Subject: [PATCH] option to use brew sqlite in include and lib flag (#24) --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 1fcfcb4..56b05c0 100644 --- a/Makefile +++ b/Makefile @@ -46,6 +46,12 @@ ifndef OMIT_SIMD endif endif +ifdef USE_BREW_SQLITE + SQLITE_INCLUDE_PATH=-I/opt/homebrew/opt/sqlite/include + SQLITE_LIB_PATH=-L/opt/homebrew/opt/sqlite/lib + CFLAGS += $(SQLITE_INCLUDE_PATH) $(SQLITE_LIB_PATH) +endif + ifdef IS_MACOS_ARM RENAME_WHEELS_ARGS=--is-macos-arm else