]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
automake: load -l bytecomp for Emacs.
authorRichard Hopkins <emacs@unbit.co.uk>
Mon, 26 Sep 2022 16:04:59 +0000 (09:04 -0700)
committerKarl Berry <karl@freefriends.org>
Mon, 26 Sep 2022 16:04:59 +0000 (09:04 -0700)
* lib/am/lisp.am (.el.elc): Require the bytecomp library so
byte-compile-dest-file-function can be used when available.

lib/am/lisp.am

index 6395ef3897b1383c815be9d07a0b1c8f1930d874..500e2c53098c2bf815b9024dca8431556ec349ef 100644 (file)
@@ -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