From 7088c9a5c7b69af9c02ea38be3ffec685754ac72 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 28 Aug 2014 15:49:24 -0600 Subject: [PATCH] Fix syscall library selection in top-level Makefiles --- Makefile.unix | 3 +++ Makefile.win | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Makefile.unix b/Makefile.unix index ec662a6944..75aa2007fa 100644 --- a/Makefile.unix +++ b/Makefile.unix @@ -226,6 +226,9 @@ USERLIBS += lib/libproxies$(LIBEXT) lib/libuc$(LIBEXT) lib/libumm$(LIBEXT) USERLIBS += lib/libuarch$(LIBEXT) else NUTTXLIBS += lib/libc$(LIBEXT) lib/libmm$(LIBEXT) lib/libarch$(LIBEXT) +ifeq ($(CONFIG_LIB_SYSCALL),y) +NUTTXLIBS += lib/libstubs$(LIBEXT) lib/libproxies$(LIBEXT) +endif endif # Add libraries for C++ support. CXX, CXXFLAGS, and COMPILEXX must diff --git a/Makefile.win b/Makefile.win index bc9cfcf581..44c48e764f 100644 --- a/Makefile.win +++ b/Makefile.win @@ -219,6 +219,9 @@ USERLIBS += lib\libproxies$(LIBEXT) lib\libuc$(LIBEXT) lib\libumm$(LIBEXT) USERLIBS += lib\libuarch$(LIBEXT) else NUTTXLIBS += lib\libc$(LIBEXT) lib\libmm$(LIBEXT) lib\libarch$(LIBEXT) +ifeq ($(CONFIG_LIB_SYSCALL),y) +NUTTXLIBS += lib/libstubs$(LIBEXT) lib/libproxies$(LIBEXT) +endif endif # Add libraries for C++ support. CXX, CXXFLAGS, and COMPILEXX must