Skip to content

Commit c05a483

Browse files
aescolarcfriedt
authored andcommitted
lib posix: Allow building the POSIX_API library without the host libC
In theory one may want to build the POSIX compability shim with a different C library than one provided with Zephyr, so let's not prevent it. Signed-off-by: Alberto Escolar Piedras <[email protected]>
1 parent 23ad117 commit c05a483

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ add_compile_options($<TARGET_PROPERTY:compiler,warning_shadow_variables>)
66
add_subdirectory(crc)
77
if(NOT CONFIG_EXTERNAL_LIBC)
88
add_subdirectory(libc)
9+
endif()
10+
if(NOT CONFIG_NATIVE_LIBC)
911
add_subdirectory(posix)
1012
endif()
1113
add_subdirectory_ifdef(CONFIG_CPP cpp)

0 commit comments

Comments
 (0)