mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-28 16:46:31 +03:00
On the Linux target the host's C library is used directly; none of the LibC menu options apply. Mark the entire "LibC" menu as `depends on !IDF_TARGET_LINUX` so its symbols (LIBC_NEWLIB, LIBC_PICOLIBC, …) stay undefined on Linux builds. Also gate the picolibc-specific include in components/console/linenoise/ linenoise.c under `!CONFIG_IDF_TARGET_LINUX` so the file does not try to pull <stdio-bufio.h> on the host even if CONFIG_LIBC_PICOLIBC is set by some other build path.