branch: elpa/emacsql
commit b405d99aed735d60834e4747ea9f6cd50e2bcefb
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    make: Don't use LDFLAGS to set Emacs load-path
---
 Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index cb6fc407f7..e13a3f82bf 100644
--- a/Makefile
+++ b/Makefile
@@ -3,14 +3,14 @@
 # Clone the dependencies of this package in sibling directories:
 #     $ git clone https://github.com/cbbrowne/pg.el ../pg
 #
-# Or set LDFLAGS to point at these packages elsewhere:
-#     $ make LDFLAGS='-L path/to/pg'
+# Or set LOAD_PATH to point at these packages elsewhere:
+#     $ make LOAD_PATH='-L path/to/pg'
 
 .POSIX:
 .SUFFIXES: .el .elc
 EMACS   ?= emacs
-LDFLAGS ?= -L ../pg
-BATCH    = $(EMACS) -batch -Q -L . -L tests $(LDFLAGS)
+LOAD_PATH ?= -L ../pg
+BATCH    = $(EMACS) -batch -Q -L . -L tests $(LOAD_PATH)
 
 EL = emacsql-compiler.el \
      emacsql.el \

Reply via email to