Added libbacktrace and recursive dependencies.
This commit is contained in:
12
recipes/libbacktrace/recipe.py
Normal file
12
recipes/libbacktrace/recipe.py
Normal 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']
|
||||
}
|
||||
Reference in New Issue
Block a user