From d2800049a3a375c42b2129b71780dd940713a9c8 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 17 Nov 2016 07:22:32 -0600 Subject: [PATCH] Make.defs: Using wrong link script if native window tool used with Cygwin --- Make.defs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Make.defs b/Make.defs index ac135b3f7..fcf1bbc3d 100644 --- a/Make.defs +++ b/Make.defs @@ -64,8 +64,12 @@ ifeq ($(CONFIG_WINDOWS_NATIVE),y) DIRUNLINK = $(TOPDIR)\tools\unlink.bat else MKKCONFIG = $(APPDIR)/tools/mkkconfig.sh - DIRLINK = $(TOPDIR)/tools/link.sh DIRUNLINK = $(TOPDIR)/tools/unlink.sh +ifeq ($(WINTOOL),y) + DIRLINK = $(TOPDIR)/tools/copydir.sh +else + DIRLINK = $(TOPDIR)/tools/link.sh +endif endif ifeq ($(WINTOOL),y)