mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 02:17:37 +08:00
Make.defs: When building MODULES under Cygwin, the path to libapps.a that is passed to the Windows linker must first be converted with cygpath.
This commit is contained in:
@@ -150,5 +150,9 @@ CFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(APPDIR)$(DELIM)include"}
|
|||||||
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(APPDIR)$(DELIM)include"}
|
CXXFLAGS += ${shell $(INCDIR) $(INCDIROPT) "$(CC)" "$(APPDIR)$(DELIM)include"}
|
||||||
|
|
||||||
ifneq ($(CONFIG_BUILD_KERNEL),y)
|
ifneq ($(CONFIG_BUILD_KERNEL),y)
|
||||||
|
ifeq ($(WINTOOL),y)
|
||||||
|
LDLIBS ?= "${shell cygpath -w $(BIN)}"
|
||||||
|
else
|
||||||
LDLIBS ?= $(BIN)
|
LDLIBS ?= $(BIN)
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
Reference in New Issue
Block a user