build: Fix --with-bootstrap build.

Reported by Vagrant Cascadian <vagrant@debian.org>.

* build-aux/build.sh.in: Before building mes using mescc, in bootstrap
mode, remove globals.o built for lib.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2022-05-06 12:25:16 +02:00
parent 1c2a504cee
commit f785f8d560
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -170,6 +170,7 @@ fi
${SHELL} ${srcdest}build-aux/build-lib.sh
${SHELL} ${srcdest}build-aux/build-source-lib.sh
if $bootstrap; then
rm -f globals.* # FIXME: avoid name clash with globals from lib
${SHELL} ${srcdest}build-aux/build-mes.sh
cp -f bin/mes-mescc ../bin
cp -f bin/mes ../bin