mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-07 12:16:24 +00:00

1, enable thread mgr 2, enable libc wasi 3, enable libc wasi threads 4, specify a function name of the module to run rather main
21 lines
324 B
Python
21 lines
324 B
Python
#
|
|
# Copyright (c) 2021, RT-Thread Development Team
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
#
|
|
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = Split('''
|
|
lib_pthread_wrapper.c
|
|
''')
|
|
|
|
CPPPATH = [cwd]
|
|
|
|
|
|
group = DefineGroup('iwasm_lib_pthread', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|