changeset 5830:5cb9ea0261ba

Add build-libtool to dependencies of build-libffi (bug #61024). * src/build-libffi.mk: Add dependency build-libtool. * Makefile.in: Add build-libffi to optional build tools that are only built when needed.
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 10 Aug 2021 10:33:47 +0200
parents f61f106184dc
children 4e1ae8cbc9ec
files Makefile.in src/build-libffi.mk
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Tue Aug 10 09:59:40 2021 +0200
+++ b/Makefile.in	Tue Aug 10 10:33:47 2021 +0200
@@ -271,8 +271,8 @@
 # some build tools are optional and added as explicit dependencies
 # to packages that need them
 BUILD_TOOLS_OPT := \
-  build-mako build-markupsafe build-meson build-ninja build-python3 \
-  build-python build-octave build-setuptools build-scons
+  build-libffi build-mako build-markupsafe build-meson build-ninja \
+  build-python3 build-python build-octave build-setuptools build-scons
 BUILD_TOOLS := $(filter-out $(BUILD_TOOLS_OPT), $(BUILD_TOOLS))
 # Building flex for native mingw fails, so disable it.
 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes)
--- a/src/build-libffi.mk	Tue Aug 10 09:59:40 2021 +0200
+++ b/src/build-libffi.mk	Tue Aug 10 10:33:47 2021 +0200
@@ -9,7 +9,7 @@
 $(PKG)_SUBDIR   := $(_PKG)-$($(PKG)_VERSION)
 $(PKG)_FILE     := $(_PKG)-$($(PKG)_VERSION).tar.gz
 $(PKG)_URL      := https://github.com/$(_PKG)/$(_PKG)/archive/refs/tags/v$($(PKG)_VERSION).tar.gz
-$(PKG)_DEPS     :=
+$(PKG)_DEPS     := build-libtool
 
 define $(PKG)_UPDATE
     $(WGET) -q -O- 'https://github.com/libffi/libffi/tags' | \