Skip to content

Commit

Permalink
lib posix: Allow building the POSIX_API library without the host libC
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
aescolar authored and cfriedt committed Dec 28, 2023
1 parent 23ad117 commit c05a483
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ add_compile_options($<TARGET_PROPERTY:compiler,warning_shadow_variables>)
add_subdirectory(crc)
if(NOT CONFIG_EXTERNAL_LIBC)
add_subdirectory(libc)
endif()
if(NOT CONFIG_NATIVE_LIBC)
add_subdirectory(posix)
endif()
add_subdirectory_ifdef(CONFIG_CPP cpp)
Expand Down

0 comments on commit c05a483

Please sign in to comment.