Skip to content

Commit 8841299

Browse files
committed
cmake/process-spawn: remove if not required align with Makefile
We already fixed the process-spawn.c in Makefile, should align to cmake Signed-off-by: buxiasen <[email protected]>
1 parent 1eb019a commit 8841299

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

system/libuv/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,13 @@ if(CONFIG_LIBUV)
106106
${LIBUV_UNIX_DIR}/fs.c
107107
${LIBUV_SRC_DIR}/fs-poll.c
108108
${LIBUV_SRC_DIR}/timer.c
109-
${LIBUV_UNIX_DIR}/process-spawn.c
110109
${LIBUV_UNIX_DIR}/sysinfo-loadavg.c
111110
${LIBUV_UNIX_DIR}/sysinfo-memory.c)
112111

112+
if(CONFIG_LIBC_EXECFUNCS)
113+
list(APPEND SRCS ${LIBUV_UNIX_DIR}/process-spawn.c)
114+
endif()
115+
113116
if(CONFIG_LIBC_DLFCN)
114117
list(APPEND SRCS ${LIBUV_UNIX_DIR}/dl.c)
115118
endif()

0 commit comments

Comments
 (0)