From c19cb7608503ca051d92047614a81b4d07e18e54 Mon Sep 17 00:00:00 2001 From: Anhad Singh Date: Sun, 9 Feb 2025 18:50:33 +1100 Subject: [PATCH] feat(libssh2): dynamic Signed-off-by: Anhad Singh --- recipes/libs/libssh2/recipe.toml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/recipes/libs/libssh2/recipe.toml b/recipes/libs/libssh2/recipe.toml index 4040960a0..da1740d4d 100644 --- a/recipes/libs/libssh2/recipe.toml +++ b/recipes/libs/libssh2/recipe.toml @@ -1,10 +1,22 @@ [source] tar = "https://www.libssh2.org/download/libssh2-1.10.0.tar.gz" blake3 = "2447216ce82c1d22301456bb02f60dfb6688f1461417b90f900c099a87f1292f" -patches = [] +script = """ +DYNAMIC_INIT +autotools_recursive_regenerate +""" [build] -template = "configure" -dependencies = [ - "openssl1" +template = "custom" +dependencies = ["openssl1"] +script = """ +DYNAMIC_INIT +cookbook_configure +""" + +[package] +shared-deps = [ + "libgcc", + "openssl1" ] +