summaryrefslogtreecommitdiff
path: root/apps/plugins/Makefile
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-02-23 00:53:43 +0000
committerJens Arnold <amiconn@rockbox.org>2005-02-23 00:53:43 +0000
commit4f2a7df6d6e649a55129444bc6a3e21cce480ffc (patch)
tree3adf50ecd1fdd445cd3173aeb9f123e58e26bff8 /apps/plugins/Makefile
parent94b64cc09e9af1fce9da150f00c61f33944ca8f2 (diff)
Win32 simulator: fixed building of codec test plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6044 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/Makefile')
-rw-r--r--apps/plugins/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/Makefile b/apps/plugins/Makefile
index 2676fa7e8c..50b5ab9c67 100644
--- a/apps/plugins/Makefile
+++ b/apps/plugins/Makefile
@@ -70,7 +70,8 @@ DLLWRAPFLAGS = -s --entry _DllMain@12 --target=i386-mingw32 -mno-cygwin
$(OBJDIR)/%.rock : $(OBJDIR)/%.o $(APPSDIR)/plugin.h
@echo "DLL $@"
@$(DLLTOOL) $(DLLTOOLFLAGS) -z $(OBJDIR)/$*.def $<
- @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $< $(OBJDIR)/libplugin.a -o $@
+ @$(DLLWRAP) $(DLLWRAPFLAGS) --def $(OBJDIR)/$*.def $< $(OBJDIR)/libplugin.a \
+ $(patsubst -l%,$(OBJDIR)/lib%.a,$(CODECLIBS)) -o $@
ifeq ($(findstring CYGWIN,$(UNAME)),CYGWIN)
# 'x' must be kept or you'll have "Win32 error 5"
# $ fgrep 5 /usr/include/w32api/winerror.h | head -1