diff options
author | Ken Brown <kbrown@cornell.edu> | 2021-10-04 14:47:57 -0400 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2021-10-04 14:53:46 -0400 |
commit | 894dfe70da2dbeb218e8a0a58ee5e860f0fe9e4e (patch) | |
tree | 21ee8ca7441d89a80ad3e54572b456aba83f6939 /src/Makefile.in | |
parent | 2ce5e0805824212e4c92398203a669a9d1841786 (diff) | |
download | emacs-894dfe70da2dbeb218e8a0a58ee5e860f0fe9e4e.tar.gz |
Fix native-compilation build from tarball on Cygwin
* src/Makefile.in (../native-lisp) [CYGWIN]: Rebase the *.eln
files after they are all created, to avoid fork problems later in
the build. (Bug#50666)
Diffstat (limited to 'src/Makefile.in')
-rw-r--r-- | src/Makefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 759572f85eb..b8d0e7b54ce 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -806,6 +806,9 @@ elnlisp := $(addprefix ${lispsource}/,${elnlisp}) $(lisp:.elc=.eln) ../native-lisp: | $(pdmp) if test ! -d $@; then \ mkdir $@ && $(MAKE) $(AM_V_NO_PD) $(elnlisp); \ + if test $(SYSTEM_TYPE) = cygwin; then \ + find $@ -name '*.eln' | rebase -v -O -T -; \ + fi; \ LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \ --bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) \ && cp -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT) \ |