diff options
| author | Ken Brown | 2021-10-04 14:47:57 -0400 |
|---|---|---|
| committer | Ken Brown | 2021-10-04 14:53:46 -0400 |
| commit | 894dfe70da2dbeb218e8a0a58ee5e860f0fe9e4e (patch) | |
| tree | 21ee8ca7441d89a80ad3e54572b456aba83f6939 | |
| parent | 2ce5e0805824212e4c92398203a669a9d1841786 (diff) | |
| download | emacs-894dfe70da2dbeb218e8a0a58ee5e860f0fe9e4e.tar.gz emacs-894dfe70da2dbeb218e8a0a58ee5e860f0fe9e4e.zip | |
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)
| -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) | |||
| 806 | ../native-lisp: | $(pdmp) | 806 | ../native-lisp: | $(pdmp) |
| 807 | if test ! -d $@; then \ | 807 | if test ! -d $@; then \ |
| 808 | mkdir $@ && $(MAKE) $(AM_V_NO_PD) $(elnlisp); \ | 808 | mkdir $@ && $(MAKE) $(AM_V_NO_PD) $(elnlisp); \ |
| 809 | if test $(SYSTEM_TYPE) = cygwin; then \ | ||
| 810 | find $@ -name '*.eln' | rebase -v -O -T -; \ | ||
| 811 | fi; \ | ||
| 809 | LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \ | 812 | LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \ |
| 810 | --bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) \ | 813 | --bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) \ |
| 811 | && cp -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT) \ | 814 | && cp -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT) \ |