option to use brew sqlite in include and lib flag (#24)

This commit is contained in:
Daniel Levi-Minzi 2024-06-20 12:15:48 -04:00 committed by GitHub
parent df48ac2416
commit 2c382a4cb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,6 +46,12 @@ ifndef OMIT_SIMD
endif endif
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 ifdef IS_MACOS_ARM
RENAME_WHEELS_ARGS=--is-macos-arm RENAME_WHEELS_ARGS=--is-macos-arm
else else