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)
This commit is contained in:
parent
2ce5e08058
commit
894dfe70da
1 changed files with 3 additions and 0 deletions
|
@ -806,6 +806,9 @@ elnlisp := $(addprefix ${lispsource}/,${elnlisp}) $(lisp:.elc=.eln)
|
||||||
../native-lisp: | $(pdmp)
|
../native-lisp: | $(pdmp)
|
||||||
if test ! -d $@; then \
|
if test ! -d $@; then \
|
||||||
mkdir $@ && $(MAKE) $(AM_V_NO_PD) $(elnlisp); \
|
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 \
|
LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \
|
||||||
--bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) \
|
--bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) \
|
||||||
&& cp -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT) \
|
&& cp -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT) \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue