Skip to content

Commit

Permalink
make: Export SQLITE3_API_BUILD_COMMAND when Nix is used
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Dec 15, 2023
1 parent 59de83a commit ff2476d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ else
EMACS_ARGS ?=
endif

ifdef NIX_PATH
export SQLITE3_API_BUILD_COMMAND = nix-shell -p sqlite.dev --run "make all"
endif

LOAD_PATH ?= $(addprefix -L ../,$(DEPS))
LOAD_PATH += -L .
LOAD_PATH += -L ./tests
Expand Down

0 comments on commit ff2476d

Please sign in to comment.