summaryrefslogtreecommitdiff
path: root/components/libc/posix/src/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc/posix/src/SConscript')
-rw-r--r--components/libc/posix/src/SConscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/libc/posix/src/SConscript b/components/libc/posix/src/SConscript
index 5640181ac5..8712d671c0 100644
--- a/components/libc/posix/src/SConscript
+++ b/components/libc/posix/src/SConscript
@@ -2,9 +2,10 @@
from building import *
-cwd = GetCurrentDir()
src = Glob('*.c')
+cwd = GetCurrentDir()
+CPPPATH = [cwd]
-group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX'])
+group = DefineGroup('POSIX', src, depend = ['RT_USING_POSIX'], CPPPATH = CPPPATH)
Return('group')