mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
Another fix for bug #1016011 by Eric Lassauge
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5198 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5a5f8e2804
commit
ba0348eb83
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue