From ba0348eb833821a76474fc3be2dd2daa31636356 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Thu, 7 Oct 2004 06:02:39 +0000 Subject: Another fix for bug #1016011 by Eric Lassauge git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5198 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'uisimulator/x11/Makefile') diff --git a/uisimulator/x11/Makefile b/uisimulator/x11/Makefile index ce709f2a83..683dca6b82 100644 --- a/uisimulator/x11/Makefile +++ b/uisimulator/x11/Makefile @@ -192,7 +192,13 @@ $(OBJDIR)/%.o: $(PLUGINDIR)/lib/%.c $(OBJDIR)/%.rock: $(APPSDIR)/plugins/%.c $(APPSDIR)/plugin.h @echo CC $< @$(CC) $(APPCFLAGS) -DPLUGIN -shared $< -L$(OBJDIR) -lplugin -o $@ +ifeq ($(UNAME),CYGWIN) +# 'x' must be kept or you'll have "Win32 error 5" +# $ fgrep 5 /usr/include/w32api/winerror.h | head -1 +# #define ERROR_ACCESS_DENIED 5L +else @chmod -x $@ +endif ################## Patterns for building objects ################## $(OBJDIR)/%.o: ../x11/%.c -- cgit v1.2.3