diff options
Diffstat (limited to 'apps/plugins/Makefile')
-rw-r--r-- | apps/plugins/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile index 9549959bbd..ef506a9c4a 100644 --- a/apps/plugins/Makefile +++ b/apps/plugins/Makefile | |||
@@ -71,7 +71,13 @@ $(OBJDIR)/%.rock : $(OBJDIR)/%.o $(APPSDIR)/plugin.h | |||
71 | @echo "DLL $@" | 71 | @echo "DLL $@" |
72 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $< | 72 | @$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $< |
73 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $< $(OBJDIR)/libplugin.a -o $@ | 73 | @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $< $(OBJDIR)/libplugin.a -o $@ |
74 | ifeq ($(UNAME),CYGWIN) | ||
75 | # 'x' must be kept or you'll have "Win32 error 5" | ||
76 | # $ fgrep 5 /usr/include/w32api/winerror.h | head -1 | ||
77 | # #define ERROR_ACCESS_DENIED 5L | ||
78 | else | ||
74 | @chmod -x $@ | 79 | @chmod -x $@ |
80 | endif | ||
75 | endif # end of win32-simulator | 81 | endif # end of win32-simulator |
76 | 82 | ||
77 | endif # end of simulator section | 83 | endif # end of simulator section |