提交 153ab5c2 编写于 作者: mysterywolf's avatar mysterywolf 提交者: Bernard Xiong

update poll sconscript

上级 15435b68
......@@ -3,9 +3,12 @@
from building import *
cwd = GetCurrentDir()
src = ['poll.c']
src = []
CPPPATH = [cwd]
group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX_POLL'], CPPPATH = CPPPATH)
if GetDepend('RT_USING_POSIX_POLL'):
src += ['poll.c']
group = DefineGroup('POSIX', src, depend = [], CPPPATH = CPPPATH)
Return('group')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册