From 7b94bc3fe032290688119b227a67064678c8f06b Mon Sep 17 00:00:00 2001 From: Patrick Wuttke Date: Wed, 10 Apr 2024 20:54:05 +0200 Subject: [PATCH] Added git_ref parameter to libbacktrace recipe. --- recipes/libbacktrace/recipe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/libbacktrace/recipe.py b/recipes/libbacktrace/recipe.py index 8733feb..858b849 100644 --- a/recipes/libbacktrace/recipe.py +++ b/recipes/libbacktrace/recipe.py @@ -1,8 +1,8 @@ from SCons.Script import * -def cook(env: Environment) -> dict: - repo = env.Cook('GitBranch', repo_name = 'libbacktrace', remote_url = 'https://github.com/ianlancetaylor/libbacktrace.git', git_ref = 'master') +def cook(env: Environment, git_ref = 'master') -> dict: + repo = env.Cook('GitBranch', repo_name = 'libbacktrace', remote_url = 'https://github.com/ianlancetaylor/libbacktrace.git', git_ref = git_ref) checkout_root = repo['checkout_root'] build_result = env.Cook('AutotoolsProject', checkout_root) return {