summaryrefslogtreecommitdiff
path: root/components/net/sal_socket/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'components/net/sal_socket/SConscript')
-rw-r--r--components/net/sal_socket/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/net/sal_socket/SConscript b/components/net/sal_socket/SConscript
index 76becca09f..3dcb5c3fe4 100644
--- a/components/net/sal_socket/SConscript
+++ b/components/net/sal_socket/SConscript
@@ -16,6 +16,9 @@ if GetDepend('SAL_USING_LWIP'):
if GetDepend('SAL_USING_AT'):
src += Glob('impl/af_inet_at.c')
+
+if GetDepend('SAL_USING_LWIP') or GetDepend('SAL_USING_AT'):
+ CPPPATH += [cwd + '/impl']
if GetDepend('SAL_USING_POSIX'):
src += Glob('dfs_net/*.c')