Added libbacktrace and recursive dependencies.

This commit is contained in:
2023-11-11 12:42:21 +01:00
parent 0abc33d6f8
commit 3cac31bd81
3 changed files with 58 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
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')
checkout_root = repo['checkout_root']
build_result = env.Cook('AutotoolsProject', checkout_root)
return {
'LIBPATH': build_result['LIBPATH'],
'CPPPATH': build_result['CPPPATH'],
'LIBS': ['backtrace']
}