summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11/Makefile
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-10-07 06:02:39 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-10-07 06:02:39 +0000
commitba0348eb833821a76474fc3be2dd2daa31636356 (patch)
tree7b3c71b544549d09019c1b4e792eae687d8f6f2e /uisimulator/x11/Makefile
parent5a5f8e2804c517fe7f11838bebeb189326595dce (diff)
downloadrockbox-ba0348eb833821a76474fc3be2dd2daa31636356.tar.gz
rockbox-ba0348eb833821a76474fc3be2dd2daa31636356.zip
Another fix for bug #1016011 by Eric Lassauge
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5198 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/Makefile')
-rw-r--r--uisimulator/x11/Makefile6
1 files changed, 6 insertions, 0 deletions
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