summaryrefslogtreecommitdiff
path: root/apps/examples/elf/tests/pthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/examples/elf/tests/pthread/Makefile')
-rw-r--r--apps/examples/elf/tests/pthread/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/examples/elf/tests/pthread/Makefile b/apps/examples/elf/tests/pthread/Makefile
index 1b02b017c..0aa524506 100644
--- a/apps/examples/elf/tests/pthread/Makefile
+++ b/apps/examples/elf/tests/pthread/Makefile
@@ -54,7 +54,7 @@ endif
LIBS =
ifeq ($(CONFIG_EXAMPLES_ELF_LIBC),y)
-ifeq ($(CONFIG_NUTTX_KERNEL),y)
+ifeq ($(CONFIG_BUILD_PROTECTED),y)
LIBS += -luc
else
LIBS += -lc