summaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2021-10-04 14:47:57 -0400
committerKen Brown <kbrown@cornell.edu>2021-10-04 14:53:46 -0400
commit894dfe70da2dbeb218e8a0a58ee5e860f0fe9e4e (patch)
tree21ee8ca7441d89a80ad3e54572b456aba83f6939 /src/Makefile.in
parent2ce5e0805824212e4c92398203a669a9d1841786 (diff)
downloademacs-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.in3
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) \