summaryrefslogtreecommitdiff
path: root/nuttx/libc/unistd/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libc/unistd/Make.defs')
-rw-r--r--nuttx/libc/unistd/Make.defs4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/libc/unistd/Make.defs b/nuttx/libc/unistd/Make.defs
index 67fce9b1d..3811673bf 100644
--- a/nuttx/libc/unistd/Make.defs
+++ b/nuttx/libc/unistd/Make.defs
@@ -41,6 +41,10 @@ ifneq ($(CONFIG_NFILE_DESCRIPTORS),0)
ifneq ($(CONFIG_DISABLE_ENVIRON),y)
CSRCS += lib_chdir.c lib_getcwd.c
endif
+
+ifeq ($(CONFIG_LIBC_EXECFUNCS),y)
+CSRCS += lib_execl.c lib_execv.c
+endif
endif
# Add the unistd directory to the build