This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit 9d59f5e524059a24f48cfbe798cf3de0259cdbc5
Author: YAMAMOTO Takashi <[email protected]>
AuthorDate: Wed Feb 26 14:08:40 2020 +0900

    Revert "Remove libapps.a from LDLIBS"
    
    It was necessary for PROTECTED build.
    
    This reverts commit 4ee39e208048f075860179a0a2b60c3a651cf16e.
---
 Make.defs | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Make.defs b/Make.defs
index dcc6402..505af7d 100644
--- a/Make.defs
+++ b/Make.defs
@@ -152,3 +152,11 @@ endif
 
 CFLAGS   += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(APPDIR)$(DELIM)include"}
 CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(APPDIR)$(DELIM)include"}
+
+ifneq ($(CONFIG_BUILD_KERNEL),y)
+ifeq ($(WINTOOL),y)
+  LDLIBS ?= "${shell cygpath -w $(BIN)}"
+else
+  LDLIBS ?= $(BIN)
+endif
+endif

Reply via email to