diff --git a/Make.defs b/Make.defs index bd2e1c56c..77b0c8275 100644 --- a/Make.defs +++ b/Make.defs @@ -150,5 +150,9 @@ 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