summaryrefslogtreecommitdiff
path: root/components/pthreads/SConscript
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-05-04 20:36:50 +0800
committerBernard Xiong <[email protected]>2015-05-04 20:36:50 +0800
commit1f52f79d0be3174698c4fe2ad4fcf70284733be7 (patch)
tree2e95a10c2c9c26c22cb6e4bb9da51b62c6bf157e /components/pthreads/SConscript
parent0af011101d896ec77ae1e4c6b4b986ac53a29a87 (diff)
[pthreads] The pthread component is depended to libc component.
Diffstat (limited to 'components/pthreads/SConscript')
-rw-r--r--components/pthreads/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/pthreads/SConscript b/components/pthreads/SConscript
index c1211343ec..f220fb1992 100644
--- a/components/pthreads/SConscript
+++ b/components/pthreads/SConscript
@@ -3,6 +3,6 @@ from building import *
src = Glob('*.c')
CPPPATH = [RTT_ROOT + '/components/pthreads']
-group = DefineGroup('pthreads', src, depend = ['RT_USING_PTHREADS'], CPPPATH = CPPPATH)
+group = DefineGroup('pthreads', src, depend = ['RT_USING_PTHREADS', 'RT_USING_LIBC'], CPPPATH = CPPPATH)
Return('group')