summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hopkins <emacs@unbit.co.uk>2022-09-26 09:04:59 -0700
committerKarl Berry <karl@freefriends.org>2022-09-26 09:04:59 -0700
commitd4801dffecfb7ed2beb0815853f89a720aac0fbc (patch)
tree0529b70c2d4647b0efe58e861f07d740b1889302
parentbee2ab1231a1c2638895c4455e212b0997784d03 (diff)
downloadautomake-d4801dffecfb7ed2beb0815853f89a720aac0fbc.tar.gz
automake: load -l bytecomp for Emacs.
* lib/am/lisp.am (.el.elc): Require the bytecomp library so byte-compile-dest-file-function can be used when available.
-rw-r--r--lib/am/lisp.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/am/lisp.am b/lib/am/lisp.am
index 6395ef389..500e2c530 100644
--- a/lib/am/lisp.am
+++ b/lib/am/lisp.am
@@ -41,6 +41,7 @@ endif %?INSTALL%
$(EMACS) --batch --no-site-file \
$(AM_ELCFLAGS) $(ELCFLAGS) \
$$am__subdir_includes -L $(builddir) -L $(srcdir) \
+ -l bytecomp \
--eval '$(am__emacs_byte_compile_setup)' \
-f batch-byte-compile '$<'; \
else :; fi