From 4f2a7df6d6e649a55129444bc6a3e21cce480ffc Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 23 Feb 2005 00:53:43 +0000 Subject: Win32 simulator: fixed building of codec test plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6044 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3