From: Ken Brown Date: Mon, 4 Oct 2021 18:47:57 +0000 (-0400) Subject: Fix native-compilation build from tarball on Cygwin X-Git-Tag: emacs-28.0.90~409 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=894dfe70da2dbeb218e8a0a58ee5e860f0fe9e4e;p=emacs.git 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) --- 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) \