From 07a1c46c361c7ef521627debe9a1e480335939bd Mon Sep 17 00:00:00 2001
From: Anhad Singh <andypython@protonmail.com>
Date: Tue, 24 Dec 2024 02:22:14 +1100
Subject: [PATCH] fix(curl): build

`autotools_recursive_regenerate` correctly includes libtool.

It just recursively runs:
$ autoreconf -fvi "$@" -I${COOKBOOK_HOST_SYSROOT}/share/aclocal

Signed-off-by: Anhad Singh <andypython@protonmail.com>
---
 recipes/net/curl/recipe.toml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes/net/curl/recipe.toml b/recipes/net/curl/recipe.toml
index 69078f6fb..b55b006c6 100644
--- a/recipes/net/curl/recipe.toml
+++ b/recipes/net/curl/recipe.toml
@@ -14,7 +14,9 @@ dependencies = [
 script = """
 rsync -av --delete "${COOKBOOK_SOURCE}/" ./
 wget -O config.sub "https://gitlab.redox-os.org/redox-os/gnu-config/-/raw/master/config.sub?inline=false"
-autoreconf -i
+# FIXME(andypython): dynamically compile
+DYNAMIC_INIT
+autotools_recursive_regenerate
 COOKBOOK_CONFIGURE="./configure"
 COOKBOOK_CONFIGURE_FLAGS=(
     --build="$(cc -dumpmachine)"
-- 
GitLab