diff --git a/CMakeLists.txt b/CMakeLists.txt index 90e0d4f40b1..561a9469b76 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1057,6 +1057,9 @@ if(CONFIG_USERSPACE) if(CONFIG_NEWLIB_LIBC) set(NEWLIB_PART -l libc.a z_libc_partition) endif() + if(CONFIG_NEWLIB_LIBC_NANO) + set(NEWLIB_PART -l libc_nano.a z_libc_partition) + endif() if(CONFIG_MBEDTLS) set(MBEDTLS_PART -l lib..__modules__crypto__mbedtls.a k_mbedtls_partition) endif()