diff options
| author | Bernard Xiong <[email protected]> | 2016-07-14 09:26:00 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-07-14 09:26:00 +0800 |
| commit | c641c8019e059a89d9509210eb01e655e0a15ca7 (patch) | |
| tree | b9d93c574caa6c14541adca5dba748614954ea54 /components/libc/SConscript | |
| parent | 108ba3b371fe9d4f944a91273c09c399b1d5847f (diff) | |
| parent | 6d14e1390cb3128c66921600aee02a42eaa13702 (diff) | |
Merge pull request #647 from yygg/master
Update SConscript
Diffstat (limited to 'components/libc/SConscript')
| -rw-r--r-- | components/libc/SConscript | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/components/libc/SConscript b/components/libc/SConscript index a7913ed744..5b30515765 100644 --- a/components/libc/SConscript +++ b/components/libc/SConscript @@ -17,7 +17,10 @@ else: if rtconfig.PLATFORM == 'gcc' and rtconfig.ARCH != 'sim': objs = objs + SConscript('minilibc/SConscript') -objs = objs + SConscript('pthreads/SConscript') -objs = objs + SConscript('libdl/SConscript') +if GetDepend('RT_USING_LIBC') and GetDepend('RT_USING_PTHREADS'): + objs = objs + SConscript('pthreads/SConscript') + +if GetDepend('RT_USING_MODULE') and GetDepend('RT_USING_LIBDL'): + objs = objs + SConscript('libdl/SConscript') Return('objs') |
